[issue26807] mock_open()().readline() fails at EOF

Yolanda report at bugs.python.org
Mon Apr 25 11:52:08 EDT 2016


Yolanda added the comment:

So... the failures are because i'm capturing the StopIteration exception in that case. then it's normal that it's not raised. How should you solve that problem instead?

----------

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


More information about the Python-bugs-list mailing list