SIGN IN SIGN UP

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

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

Initial patch by Kamilla Holanda.
R
R David Murray committed
ef1c26798ca95d10d29979c6fef77ac3b6f27c26
Parent: 87d13ea