diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index e134c9e2119..a9438a83318 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -780,7 +780,7 @@ Test cases .. versionadded:: 3.1 - .. method:: assertRegexpMatches(text, regexp, msg=None): + .. method:: assertRegexpMatches(text, regexp, msg=None) Verifies that a *regexp* search matches *text*. Fails with an error message including the pattern and the *text*. *regexp* may be