]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #23004: mock_open() now reads binary data correctly when the type of read_data...
authorBerker Peksag <berker.peksag@gmail.com>
Thu, 6 Aug 2015 10:15:51 +0000 (13:15 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Thu, 6 Aug 2015 10:15:51 +0000 (13:15 +0300)
commit86b34da5ef249b865281704a5f6721391edb0c1c
tree41a24e383eb516446c85551e98ecf4d113e47e74
parent0b2833eaf2f21f0d70cee07eea39e139fd5ce1ef
Issue #23004: mock_open() now reads binary data correctly when the type of read_data is bytes.

Initial patch by Aaron Hill.
Lib/unittest/mock.py
Lib/unittest/test/testmock/testwith.py
Misc/NEWS