Issue #9754: Similarly to assertRaises and assertRaisesRegexp, unittest
test cases now also have assertWarns and assertWarnsRegexp methods to
check that a given warning type was triggered by the code under test.
diff --git a/Misc/NEWS b/Misc/NEWS
index a64f694..d2d35d0 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -13,6 +13,10 @@
Library
-------
+- Issue #9754: Similarly to assertRaises and assertRaisesRegexp, unittest
+ test cases now also have assertWarns and assertWarnsRegexp methods to
+ check that a given warning type was triggered by the code under test.
+
- Issue #5506: BytesIO objects now have a getbuffer() method exporting a
view of their contents without duplicating them. The view is both readable
and writable.