summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-03-27 21:30:02 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-03-27 21:30:02 (GMT)
commitce913877e42b7fa03434c2e765ace891e0f5c4dc (patch)
tree368cf51d0228cb951d2410a8e62703cc32c11c64 /Misc/NEWS
parentfa0f62d6ab3d4acf949bd0160bca16f0f973c323 (diff)
downloadcpython-ce913877e42b7fa03434c2e765ace891e0f5c4dc.zip
cpython-ce913877e42b7fa03434c2e765ace891e0f5c4dc.tar.gz
cpython-ce913877e42b7fa03434c2e765ace891e0f5c4dc.tar.bz2
Issue #25195: Fix a regression in mock.MagicMock
_Call is a subclass of tuple (changeset 3603bae63c13 only works for classes) so we need to implement __ne__ ourselves. Patch by Andrew Plummer.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index acbaaf7..a855451 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -94,6 +94,10 @@ Core and Builtins
Library
-------
+- Issue #25195: Fix a regression in mock.MagicMock. _Call is a subclass of
+ tuple (changeset 3603bae63c13 only works for classes) so we need to
+ implement __ne__ ourselves. Patch by Andrew Plummer.
+
- Issue #26644: Raise ValueError rather than SystemError when a negative
length is passed to SSLSocket.recv() or read().