diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-05-16 13:29:50 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-05-16 13:29:50 (GMT) |
commit | df573d6ad81d61d75060eec71558ed50fa4aacf2 (patch) | |
tree | fbb33a12ffe4fc1ffae5aebe1652a5c4bdd735b0 /Misc/NEWS | |
parent | 6b680cd6b2a0ecc8d5e6fe671e2eda6608c53a85 (diff) | |
download | cpython-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/NEWS | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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. |