commit | ef1c26798ca95d10d29979c6fef77ac3b6f27c26 | [log] [tgz] |
---|---|---|
author | R David Murray <rdmurray@bitdance.com> | Tue Mar 25 15:31:50 2014 -0400 |
committer | R David Murray <rdmurray@bitdance.com> | Tue Mar 25 15:31:50 2014 -0400 |
tree | 074534905e338281d8f9937635becd0cd27bc86e | |
parent | 87d13ea56d58851c35952aa8dac24168fceac15a [diff] |
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.