diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-05-21 17:15:40 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-05-21 17:15:40 (GMT) |
commit | 041dd8eef105f981693f7084b270481816dd9a7a (patch) | |
tree | 9fdcf84d365a2c2e6bcf318fab0649e8655b4b09 /Misc | |
parent | ff54223606d899c57912dc9f1c5d0d0f331f96b8 (diff) | |
download | cpython-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/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -1472,6 +1472,7 @@ Alex Volkov Martijn Vries Sjoerd de Vries Guido Vranken +Daniel Wagner-Hall Niki W. Waibel Wojtek Walczak Charles Waldman @@ -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. |