[issue31855] mock_open is not compatible with read(n) (and pickle.load)

Chris Withers report at bugs.python.org
Tue May 7 08:35:03 EDT 2019


Chris Withers <chris at withers.org> added the comment:


New changeset a6516f89aa0f416c7514ac364bb48ac7d1455487 by Chris Withers (Miss Islington (bot)) in branch '3.7':
bpo-31855: unittest.mock.mock_open() results now respects the argument of read([size]) (GH-11521) (#13152)
https://github.com/python/cpython/commit/a6516f89aa0f416c7514ac364bb48ac7d1455487


----------

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


More information about the Python-bugs-list mailing list