summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMario Corchero <mcorcherojim@bloomberg.net>2019-05-28 12:53:31 (GMT)
committerCheryl Sabella <cheryl.sabella@gmail.com>2019-05-28 12:53:30 (GMT)
commit04530812e90e45a37ed84e83505d63db7edc1262 (patch)
treec26e4f6492e37209667b61943cb5a156c2f57aeb /Misc
parenteb65e2443ac21739baf6d373abc7b4638b9d6927 (diff)
downloadcpython-04530812e90e45a37ed84e83505d63db7edc1262.zip
cpython-04530812e90e45a37ed84e83505d63db7edc1262.tar.gz
cpython-04530812e90e45a37ed84e83505d63db7edc1262.tar.bz2
bpo-32299: Return patched dict when using patch.dict as a context manager (GH-11062)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2017-12-13-17-49-56.bpo-32299.eqAPWs.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-12-13-17-49-56.bpo-32299.eqAPWs.rst b/Misc/NEWS.d/next/Library/2017-12-13-17-49-56.bpo-32299.eqAPWs.rst
new file mode 100644
index 0000000..4e1afa9
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2017-12-13-17-49-56.bpo-32299.eqAPWs.rst
@@ -0,0 +1,2 @@
+Changed :func:`unittest.mock.patch.dict` to return the patched
+dictionary when used as context manager. Patch by Vadim Tsander.