Issue #18237: Fix assertRaisesRegexp error caought by Jeff Tratner.
This commit is contained in:
parent
2b149860a0
commit
8d7500387d
|
@ -958,7 +958,7 @@ Test cases
|
|||
a regular expression object or a string containing a regular expression
|
||||
suitable for use by :func:`re.search`. Examples::
|
||||
|
||||
self.assertRaisesRegexp(ValueError, 'invalid literal for.*XYZ$',
|
||||
self.assertRaisesRegexp(ValueError, "invalid literal for.*XYZ'$",
|
||||
int, 'XYZ')
|
||||
|
||||
or::
|
||||
|
|
Loading…
Reference in New Issue