summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 5af979e..6560f17 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,13 @@
certain cases because, even though that's *not* documented, Python
tries to use __length_hint__ in some cases.
+- Implemented Expect helper, which allows creating a new expect()
+ "function" with an explicitly provided Mocker instance. This
+ helps in cases where the expression can't result in a Mock
+ instance (e.g. expect(iter(mock))) (#196388).
+
+ "function" with an explicitly provided Mocker instance.
+
- __nonzero__ should necessarily return a boolean value, so transform Mock
results into True (#380024).