summaryrefslogtreecommitdiffstats
path: root/Doc/library/test.rst
diff options
context:
space:
mode:
authorAndre Delfino <adelfino@gmail.com>2020-12-17 01:37:28 (GMT)
committerGitHub <noreply@github.com>2020-12-17 01:37:28 (GMT)
commitdcc997cd28ab33ebac44182ee55533c1b37689f7 (patch)
tree1f3dad6d0fe646c4f3e5f3ca1219d88e2156383c /Doc/library/test.rst
parentc143cc379c7411598e7b7b652bac7935e4687d07 (diff)
downloadcpython-dcc997cd28ab33ebac44182ee55533c1b37689f7.zip
cpython-dcc997cd28ab33ebac44182ee55533c1b37689f7.tar.gz
cpython-dcc997cd28ab33ebac44182ee55533c1b37689f7.tar.bz2
[doc] Fix erroneous backslashes in signatures and names (GH-23658)
The issue being resolved is shown in the 3.10 docs (if you select docs for older versions you won't see a visual glitch). The newer sphinx version that produces the 3.10 docs doesn't treat the backslash to escape things in some situations it previously did.
Diffstat (limited to 'Doc/library/test.rst')
-rw-r--r--Doc/library/test.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/test.rst b/Doc/library/test.rst
index ce6b868..e4f779b 100644
--- a/Doc/library/test.rst
+++ b/Doc/library/test.rst
@@ -453,7 +453,7 @@ The :mod:`test.support` module defines the following functions:
Define match test with regular expression *patterns*.
-.. function:: run_unittest(\*classes)
+.. function:: run_unittest(*classes)
Execute :class:`unittest.TestCase` subclasses passed to the function. The
function scans the classes for methods starting with the prefix ``test_``
@@ -1599,7 +1599,7 @@ The :mod:`test.support.warnings_helper` module provides support for warnings tes
.. versionadded:: 3.8
-.. function:: check_warnings(\*filters, quiet=True)
+.. function:: check_warnings(*filters, quiet=True)
A convenience wrapper for :func:`warnings.catch_warnings()` that makes it
easier to test that a warning was correctly raised. It is approximately