[issue21258] Add __iter__ support for mock_open

Anthony Flury report at bugs.python.org
Wed Sep 12 18:21:02 EDT 2018


Anthony Flury <anthony.flury at btinternet.com> added the comment:

The lack of dunder_iter support on mock_open has been resolved in Issue 32933 (Git Hub 5974).

Can I suggest that once the above PR is merged into 3.8 (due imminently allegedly <smile>), that we should then backport that fix into 3.5, 3.6 & 3.7 as a minimum ?

I am by no means an expert though.

----------
nosy: +anthony-flury

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


More information about the Python-bugs-list mailing list