summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMichael Foord <fuzzyman@voidspace.org.uk>2010-05-08 16:46:14 (GMT)
committerMichael Foord <fuzzyman@voidspace.org.uk>2010-05-08 16:46:14 (GMT)
commite3ef5f1201601190cd72fb3f952165a4bbdf2dc8 (patch)
tree09c3c7fb3693aa893a59bc0fe4f3bbb8c2c7e9b5 /Doc/library
parent3c451e6d9ea4edc603f01f6b9be78d7bb9596227 (diff)
downloadcpython-e3ef5f1201601190cd72fb3f952165a4bbdf2dc8.zip
cpython-e3ef5f1201601190cd72fb3f952165a4bbdf2dc8.tar.gz
cpython-e3ef5f1201601190cd72fb3f952165a4bbdf2dc8.tar.bz2
Merged revisions 80990 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r80990 | michael.foord | 2010-05-08 18:40:52 +0200 (Sat, 08 May 2010) | 1 line Updating documentation and adding docstrings to unittest.TestCase.assertRegexpMatches and assertNotRegexpMatches. Issue 8038. ........
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/unittest.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index b5b23c7..19c8b0b 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -903,9 +903,9 @@ Test cases
.. method:: assertNotRegexpMatches(text, regexp, msg=None)
Verifies that a *regexp* search does not match *text*. Fails with an error
- message including the pattern and the *text*. *regexp* may be
- a regular expression object or a string containing a regular expression
- suitable for use by :func:`re.search`.
+ message including the pattern and the part of *text* that matches. *regexp*
+ may be a regular expression object or a string containing a regular
+ expression suitable for use by :func:`re.search`.
.. versionadded:: 3.2