[issue28495] MagickMock created by patсh annotation refuses to apply function side_effect at second time

R. David Murray report at bugs.python.org
Fri Oct 21 09:39:46 EDT 2016


R. David Murray added the comment:

Your test file only compiles the function definitions, it doesn't actually run any code.  If I convert it into a unittest, it works as expected.  If this is minimized example of code where you actually found a problem, I suspect there's something else wrong with the original code.

----------
nosy: +r.david.murray
resolution:  -> not a bug
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28495>
_______________________________________


More information about the Python-bugs-list mailing list