diff options
author | Michael Foord <fuzzyman@voidspace.org.uk> | 2010-05-08 16:40:52 (GMT) |
---|---|---|
committer | Michael Foord <fuzzyman@voidspace.org.uk> | 2010-05-08 16:40:52 (GMT) |
commit | 959c16d7a44e4cf6788ed751c58bbd5efc5a0107 (patch) | |
tree | a79afbe55a478a16d1d5f3c68c60ea3ee6c902a6 /Doc/library/unittest.rst | |
parent | 7baf8627bd98c58988123688c07b470d89785b51 (diff) | |
download | cpython-959c16d7a44e4cf6788ed751c58bbd5efc5a0107.zip cpython-959c16d7a44e4cf6788ed751c58bbd5efc5a0107.tar.gz cpython-959c16d7a44e4cf6788ed751c58bbd5efc5a0107.tar.bz2 |
Updating documentation and adding docstrings to unittest.TestCase.assertRegexpMatches and assertNotRegexpMatches. Issue 8038.
Diffstat (limited to 'Doc/library/unittest.rst')
-rw-r--r-- | Doc/library/unittest.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index f3bd780..06fd781 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -907,9 +907,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:: 2.7 |