From: Senthil Kumaran Date: Fri, 15 Oct 2010 15:21:19 +0000 (+0000) Subject: Fix a minor docs bug. X-Git-Tag: v3.2a4~563 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=279b56d9a7239920dc5f190bc2ebc91b6605c796;p=thirdparty%2FPython%2Fcpython.git Fix a minor docs bug. --- diff --git a/Doc/library/test.rst b/Doc/library/test.rst index d6ff734b8ba1..d4ad7a5454a7 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