summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorTony Flury <anthony.flury@btinternet.com>2018-09-12 22:21:16 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2018-09-12 22:21:16 (GMT)
commit2087023fdec2c89070bd14f384a3c308c548a94a (patch)
treeadc1cfdebd6ed15525044cb09d83188d511831c9 /Misc
parentc7042224b8a67748f125c22836862483f81a87a6 (diff)
downloadcpython-2087023fdec2c89070bd14f384a3c308c548a94a.zip
cpython-2087023fdec2c89070bd14f384a3c308c548a94a.tar.gz
cpython-2087023fdec2c89070bd14f384a3c308c548a94a.tar.bz2
bpo-32933: Implement __iter__ method on mock_open() (GH-5974)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2018-04-30-22-43-31.bpo-32933.M3iI_y.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-04-30-22-43-31.bpo-32933.M3iI_y.rst b/Misc/NEWS.d/next/Library/2018-04-30-22-43-31.bpo-32933.M3iI_y.rst
new file mode 100644
index 0000000..4de7a8f
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-04-30-22-43-31.bpo-32933.M3iI_y.rst
@@ -0,0 +1,2 @@
+:func:`unittest.mock.mock_open` now supports iteration over the file
+contents. Patch by Tony Flury.