Issue #18237: Fix assertRaisesRegexp error caought by Jeff Tratner.

This commit is contained in:
Terry Jan Reedy 2013-06-29 13:15:43 -04:00
parent 95a3f11f95
commit c4565a9524
1 changed files with 1 additions and 1 deletions

View File

@ -873,7 +873,7 @@ Test cases
a regular expression object or a string containing a regular expression
suitable for use by :func:`re.search`. Examples::
self.assertRaisesRegex(ValueError, 'invalid literal for.*XYZ$',
self.assertRaisesRegex(ValueError, "invalid literal for.*XYZ'$",
int, 'XYZ')
or::