summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRémi Lapeyre <remi.lapeyre@henki.fr>2019-05-07 10:48:36 (GMT)
committerChris Withers <chris@withers.org>2019-05-07 10:48:36 (GMT)
commit11a8832c98b3db78727312154dd1d3ba76d639ec (patch)
tree9b40898ae686280ee7ea0d672c69f292f04a9c23 /Misc
parentad4ed872415d00fcdfaa52a08108ec752b115000 (diff)
downloadcpython-11a8832c98b3db78727312154dd1d3ba76d639ec.zip
cpython-11a8832c98b3db78727312154dd1d3ba76d639ec.tar.gz
cpython-11a8832c98b3db78727312154dd1d3ba76d639ec.tar.bz2
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>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-01-11-17-09-15.bpo-31855.PlhfsX.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-01-11-17-09-15.bpo-31855.PlhfsX.rst b/Misc/NEWS.d/next/Library/2019-01-11-17-09-15.bpo-31855.PlhfsX.rst
new file mode 100644
index 0000000..0da9c49
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-01-11-17-09-15.bpo-31855.PlhfsX.rst
@@ -0,0 +1,2 @@
+:func:`unittest.mock.mock_open` results now respects the argument of read([size]).
+Patch contributed by Rémi Lapeyre.