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 <rep...@bugs.python.org> <http://bugs.python.org/issue23004> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com