[issue17826] Setting a side_effect on mock from create_autospec doesn't work

Kushal Das report at bugs.python.org
Mon Apr 14 20:38:01 CEST 2014


Kushal Das added the comment:

New patch with fix in proper place for side_effect for functions (includes test case).

----------
versions: +Python 3.3 -Python 3.5
Added file: http://bugs.python.org/file34838/issue17826_v3.patch

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


More information about the Python-bugs-list mailing list