summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-05-21 17:15:40 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-05-21 17:15:40 (GMT)
commit041dd8eef105f981693f7084b270481816dd9a7a (patch)
tree9fdcf84d365a2c2e6bcf318fab0649e8655b4b09 /Misc
parentff54223606d899c57912dc9f1c5d0d0f331f96b8 (diff)
downloadcpython-041dd8eef105f981693f7084b270481816dd9a7a.zip
cpython-041dd8eef105f981693f7084b270481816dd9a7a.tar.gz
cpython-041dd8eef105f981693f7084b270481816dd9a7a.tar.bz2
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS4
2 files changed, 5 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 807eeb2..4d3e290 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1472,6 +1472,7 @@ Alex Volkov
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 @@ Core and Builtins
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.