[issue36598] mock side_effect should be checked for iterable not callable

Gregory Ronin report at bugs.python.org
Thu Apr 11 14:30:40 EDT 2019


Gregory Ronin <gregoryronin at yahoo.com> added the comment:

You are right. I was not calling generator the right way in mock. After I tried your suggestion it works.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36598>
_______________________________________


More information about the Python-bugs-list mailing list