[issue21258] Add __iter__ support for mock_open

Maciej Zagrabski report at bugs.python.org
Thu Jan 29 19:35:30 CET 2015


Maciej Zagrabski added the comment:

Provided path did not work for me. Probably because lack of __next__ handler. I noticed that issue when interacting with cvs.reader and cvs.DictReader. After simple modification it seems to work fine.

----------
nosy: +mucka
versions: +Python 3.4
Added file: http://bugs.python.org/file37908/mock_new.diff

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


More information about the Python-bugs-list mailing list