Kaydet (Commit) c4565a95 authored tarafından Terry Jan Reedy's avatar Terry Jan Reedy

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

üst 95a3f11f
......@@ -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::
......
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