summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2013-06-29 17:16:17 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2013-06-29 17:16:17 (GMT)
commitb7bb6f571b0d760a503e18bb81ff2c6582159e2a (patch)
tree203cfc98f3ca56ec6ba6b99e61020faec8bcbbcc /Doc/library
parent3a5053b8cfde6cb439384e79554c431fe0a649e8 (diff)
parentc4565a95244f45fc8868816d62a43764bb678e11 (diff)
downloadcpython-b7bb6f571b0d760a503e18bb81ff2c6582159e2a.zip
cpython-b7bb6f571b0d760a503e18bb81ff2c6582159e2a.tar.gz
cpython-b7bb6f571b0d760a503e18bb81ff2c6582159e2a.tar.bz2
Merge with 3.3
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/unittest.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index 26245b5..9e8a246 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -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::