[New-bugs-announce] [issue38757] mocking an exception, arguments do not seem to be passed to the mock
Troulet-lambert Odile
report at bugs.python.org
Sat Nov 9 15:19:55 EST 2019
New submission from Troulet-lambert Odile <piscvau at 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 <report at bugs.python.org>
<https://bugs.python.org/issue38757>
_______________________________________
More information about the New-bugs-announce
mailing list