diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2010-10-15 15:21:19 (GMT) |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2010-10-15 15:21:19 (GMT) |
commit | 279b56d9a7239920dc5f190bc2ebc91b6605c796 (patch) | |
tree | f081e7db13a82b6eff5ddb47195ff35895ebee1b /Doc/library | |
parent | b4dac71a8768888dbe3de007780cd5467e48f0f4 (diff) | |
download | cpython-279b56d9a7239920dc5f190bc2ebc91b6605c796.zip cpython-279b56d9a7239920dc5f190bc2ebc91b6605c796.tar.gz cpython-279b56d9a7239920dc5f190bc2ebc91b6605c796.tar.bz2 |
Fix a minor docs bug.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/test.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/test.rst b/Doc/library/test.rst index d6ff734..d4ad7a5 100644 --- a/Doc/library/test.rst +++ b/Doc/library/test.rst @@ -262,7 +262,7 @@ The :mod:`test.support` module defines the following functions: path to the file. -.. 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_`` @@ -279,7 +279,7 @@ The :mod:`test.support` module defines the following functions: This will run all tests defined in the named module. -.. 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 |