mirror of
https://github.com/python/cpython.git
synced 2026-01-08 16:32:55 +00:00
Merge with 3.3
This commit is contained in:
commit
b7bb6f571b
1 changed files with 1 additions and 1 deletions
|
|
@ -950,7 +950,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::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue