Make test.test_support.catch_warnings more robust as discussed on python-dev. Also add explicit tests for itto test_warnings.
diff --git a/Misc/NEWS b/Misc/NEWS
index ecd5567..0cee84e 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -82,6 +82,14 @@
   redundant ":443" port number designation when the connection is using the
   default https port (443).
 
+Tests
+-----
+
+- test.test_support.catch_warning now keeps track of all warnings it sees
+  and is now better documented. Explicit unit tests for this context manager
+  have been added to test_warnings.
+
+
 Build
 -----