Issue #15836: assertRaises(), assertRaisesRegex(), assertWarns() and
assertWarnsRegex() assertments now check the type of the first argument
to prevent possible user error. Based on patch by Daniel Wagner-Hall.
diff --git a/Misc/ACKS b/Misc/ACKS
index 807eeb2..4d3e290 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1472,6 +1472,7 @@
Martijn Vries
Sjoerd de Vries
Guido Vranken
+Daniel Wagner-Hall
Niki W. Waibel
Wojtek Walczak
Charles Waldman
diff --git a/Misc/NEWS b/Misc/NEWS
index 5838a63..0f35d3f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -52,6 +52,10 @@
Library
-------
+- Issue #15836: assertRaises(), assertRaisesRegex(), assertWarns() and
+ assertWarnsRegex() assertments now check the type of the first argument
+ to prevent possible user error. Based on patch by Daniel Wagner-Hall.
+
- Issue #9858: Add missing method stubs to _io.RawIOBase. Patch by Laura
Rupprecht.