[issue24856] Mock.side_effect as iterable or iterator

Martijn Pieters report at bugs.python.org
Thu Aug 13 19:32:07 CEST 2015


Martijn Pieters added the comment:

Bugger, that's the last time I take someone's word for it and not test properly. Indeed, I missed the inheritance of NonCallableMock, so the property is inherited from there.

Mea Culpa!

----------

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


More information about the Python-bugs-list mailing list