[issue23004] mock_open() should allow reading binary data

Aaron Hill report at bugs.python.org
Sat Dec 13 15:13:42 CET 2014


Aaron Hill added the comment:

I've created a new patch, which addresses the problem. Your example now currently returns [b'foo\n', b'bar\n']

----------
Added file: http://bugs.python.org/file37440/mock-open-allow-binary-data-updated.patch

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


More information about the Python-bugs-list mailing list