summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-11 21:17:48 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-03-11 21:17:48 (GMT)
commit2c2a4e63d794eb55e9163322ea11b9765e9e0db5 (patch)
tree220e3dd3c738935ee81a2e80fa733e4f650c07a9 /Misc
parent82442b7022fbc438983eb4e973418357e3eec1e2 (diff)
downloadcpython-2c2a4e63d794eb55e9163322ea11b9765e9e0db5.zip
cpython-2c2a4e63d794eb55e9163322ea11b9765e9e0db5.tar.gz
cpython-2c2a4e63d794eb55e9163322ea11b9765e9e0db5.tar.bz2
Add Mock.assert_called()
Issue #26323: Add assert_called() and assert_called_once() methods to unittest.mock.Mock.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS3
2 files changed, 4 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 0a67f39..a19e113 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1267,6 +1267,7 @@ Bernt Røskar Brenna
Constantina S.
Patrick Sabin
Sébastien Sablé
+Amit Saha
Suman Saha
Hajime Saitou
George Sakkis
diff --git a/Misc/NEWS b/Misc/NEWS
index 45d8f2e..1e87de8 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -201,6 +201,9 @@ Core and Builtins
Library
-------
+- Issue #26323: Add Mock.assert_called() and Mock.assert_called_once()
+ methods to unittest.mock. Patch written by Amit Saha.
+
- Issue #20589: Invoking Path.owner() and Path.group() on Windows now raise
NotImplementedError instead of ImportError.