summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-05-16 13:29:50 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-05-16 13:29:50 (GMT)
commitdf573d6ad81d61d75060eec71558ed50fa4aacf2 (patch)
treefbb33a12ffe4fc1ffae5aebe1652a5c4bdd735b0 /Misc/NEWS
parent6b680cd6b2a0ecc8d5e6fe671e2eda6608c53a85 (diff)
downloadcpython-df573d6ad81d61d75060eec71558ed50fa4aacf2.zip
cpython-df573d6ad81d61d75060eec71558ed50fa4aacf2.tar.gz
cpython-df573d6ad81d61d75060eec71558ed50fa4aacf2.tar.bz2
Issue #24134: assertRaises(), assertRaisesRegex(), assertWarns() and
assertWarnsRegex() checks now emits a deprecation warning when callable is None or keyword arguments except msg is passed in the context manager mode.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS3
1 files changed, 2 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 5e8ba22..502d80f87 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -76,7 +76,8 @@ Library
usernames and passwords to UTF8.
- Issue #24134: assertRaises(), assertRaisesRegex(), assertWarns() and
- assertWarnsRegex() checks are not longer successful if the callable is None.
+ assertWarnsRegex() checks now emits a deprecation warning when callable is
+ None or keyword arguments except msg is passed in the context manager mode.
- Issue #24018: Add a collections.abc.Generator abstract base class.
Contributed by Stefan Behnel.