]> granicus.if.org Git - python/commit
bpo-31855: unittest.mock.mock_open() results now respects the argument of read([size...
authorRémi Lapeyre <remi.lapeyre@henki.fr>
Tue, 7 May 2019 10:48:36 +0000 (12:48 +0200)
committerChris Withers <chris@withers.org>
Tue, 7 May 2019 10:48:36 +0000 (11:48 +0100)
commit11a8832c98b3db78727312154dd1d3ba76d639ec
tree9b40898ae686280ee7ea0d672c69f292f04a9c23
parentad4ed872415d00fcdfaa52a08108ec752b115000
bpo-31855: unittest.mock.mock_open() results now respects the argument of read([size]) (GH-11521)

unittest.mock.mock_open() results now respects the argument of read([size])

Co-Authored-By: remilapeyre <remi.lapeyre@henki.fr>
Lib/unittest/mock.py
Lib/unittest/test/testmock/testwith.py
Misc/NEWS.d/next/Library/2019-01-11-17-09-15.bpo-31855.PlhfsX.rst [new file with mode: 0644]