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

This commit is contained in:
Terry Jan Reedy 2013-06-29 13:15:36 -04:00
parent 2b149860a0
commit 8d7500387d
1 changed files with 1 additions and 1 deletions

View File

@ -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::