Commit 8d750038 authored by Terry Jan Reedy's avatar Terry Jan Reedy

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

parent 2b149860
......@@ -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::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment