New submission from Troulet-lambert Odile <pisc...@yahoo.fr>:
When patching an Exception with a side_effect to another exception, it seems like the exceiption arguments are not passed to the mock. ---------- components: Tests files: essai mock_exception.py messages: 356305 nosy: piscvau priority: normal severity: normal status: open title: mocking an exception, arguments do not seem to be passed to the mock type: behavior versions: Python 3.8 Added file: https://bugs.python.org/file48704/essai mock_exception.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38757> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com