[issue35330] When using mock to wrap an existing object, side_effect requires return_value
Chris Withers
report at bugs.python.org
Sat Dec 8 06:41:57 EST 2018
Chris Withers <chris at withers.org> added the comment:
New changeset 12b9fb603eea9298c835bae5b8742db4fa52892e by Chris Withers (Miss Islington (bot)) in branch '3.6':
bpo-35330: Don't call the wrapped object if `side_effect` is set (GH11034)
https://github.com/python/cpython/commit/12b9fb603eea9298c835bae5b8742db4fa52892e
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35330>
_______________________________________
More information about the Python-bugs-list
mailing list