summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2008-09-11 12:11:06 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2008-09-11 12:11:06 (GMT)
commitd2e09383624944add0e670b857c572129d56988e (patch)
treef77e6631636c1d33d9bd5cf1e3e905c571ac9cd9 /Misc/NEWS
parent9fa5a2828c8007dfb678b883d65aecac93e995e4 (diff)
downloadcpython-d2e09383624944add0e670b857c572129d56988e.zip
cpython-d2e09383624944add0e670b857c572129d56988e.tar.gz
cpython-d2e09383624944add0e670b857c572129d56988e.tar.bz2
Issue #3781: Final cleanup of warnings.catch_warnings and its usage in the test suite. Closes issue w.r.t. 2.6 (R: Brett Cannon)
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS10
1 files changed, 9 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 55490b7..fba4723 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -79,9 +79,13 @@ Library
- Issue #3811: The Unicode database was updated to 5.1.
+- Issue #3781: Further warnings.catch_warnings() cleanup to prevent
+ silent misbehaviour when a single instance is nested in multiple
+ with statements, or when the methods are invoked in the wrong order.
+
- Issue #3809: Fixed spurious 'test.blah' file left behind by test_logging.
-- Issue 3781: Clean up the API for warnings.catch_warnings() by having it
+- Issue #3781: Clean up the API for warnings.catch_warnings() by having it
return a list or None rather than a custom object.
- Issue #1638033: Cookie.Morsel gained the httponly attribute.
@@ -142,6 +146,10 @@ Extension Modules
Tests
-----
+- Issue #3781: Add test.test_support.check_warnings() as a convenience
+ wrapper for warnings.catch_warnings() that makes it easier to check
+ that expected warning messages are being reported.
+
- Issue #3796: Some tests functions were not enabled in test_float.
- Issue #3768: Move test_py3kwarn over to the new API for catch_warnings().