summaryrefslogtreecommitdiff
path: root/Misc
diff options
context:
space:
mode:
authorKarthikeyan Singaravelan <tir.karthi@gmail.com>2020-04-29 00:52:31 +0530
committerGitHub <noreply@github.com>2020-04-28 20:22:31 +0100
commit521c8d6806adf0305c158d280ec00cca48e8ab22 (patch)
tree7f2567c05fc21b1ae3e0d1b209a99b0065c2bf12 /Misc
parentd9a43e20facdf4ad10186f820601c6580e1baa80 (diff)
downloadcpython-git-521c8d6806adf0305c158d280ec00cca48e8ab22.tar.gz
bpo-39966: Revert "bpo-25597: Ensure wraps' return value is used for magic methods in MagicMock" (GH-19734)
* Revert "bpo-25597: Ensure wraps' return value is used for magic methods in MagicMock (#16029)" This reverts commit 72b1004657e60c900e4cd031b2635b587f4b280e.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2020-04-27-14-48-43.bpo-39966.N5yXUe.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-04-27-14-48-43.bpo-39966.N5yXUe.rst b/Misc/NEWS.d/next/Library/2020-04-27-14-48-43.bpo-39966.N5yXUe.rst
new file mode 100644
index 0000000000..614b452056
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-04-27-14-48-43.bpo-39966.N5yXUe.rst
@@ -0,0 +1,2 @@
+Revert bpo-25597. :class:`unittest.mock.MagicMock` with wraps' set uses
+default return values for magic methods.