SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 452 Python

#20145: assert[Raises|Warns]Regex now raise TypeError on bad regex.

Previously a non-string, non-regex second argument could cause the test
to always pass.

Initial patch by Kamilla Holanda.
R
R David Murray committed
e1b6f97daedcfab29c1139ddb8c41292cd7de472
Parent: 91e7f04