]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix a minor docs bug.
authorSenthil Kumaran <orsenthil@gmail.com>
Fri, 15 Oct 2010 15:21:19 +0000 (15:21 +0000)
committerSenthil Kumaran <orsenthil@gmail.com>
Fri, 15 Oct 2010 15:21:19 +0000 (15:21 +0000)
Doc/library/test.rst

index d6ff734b8ba16c948bbdbc4036d36c17ca98e194..d4ad7a5454a70dcd4f116b153db53a4b18400b0c 100644 (file)
@@ -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