Commit d2d2ab93 authored by Terry Jan Reedy's avatar Terry Jan Reedy

Merge with 3.3

parents 43def26c a3bc03ce
...@@ -950,7 +950,7 @@ Test cases ...@@ -950,7 +950,7 @@ Test cases
a regular expression object or a string containing a regular expression a regular expression object or a string containing a regular expression
suitable for use by :func:`re.search`. Examples:: suitable for use by :func:`re.search`. Examples::
self.assertRaisesRegex(ValueError, 'invalid literal for.*XYZ$', self.assertRaisesRegex(ValueError, "invalid literal for.*XYZ'$",
int, 'XYZ') int, 'XYZ')
or:: 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