[issue23004] mock_open() should allow reading binary data

Robert Collins report at bugs.python.org
Thu Aug 6 23:57:48 CEST 2015


Robert Collins added the comment:

Post merge review:

looks like

data_as_list = read_data.splitlines(True)

would be a little cleaner.

----------

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


More information about the Python-bugs-list mailing list