From: R. David Murray Date: Mon, 13 Dec 2010 22:50:30 +0000 (+0000) Subject: #10698: fix typo in example. X-Git-Tag: v3.2b2~110 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=796343b1988e3e47c9b400053f844c2bb0352d9a;p=thirdparty%2FPython%2Fcpython.git #10698: fix typo in example. --- diff --git a/Doc/library/doctest.rst b/Doc/library/doctest.rst index 159ab18396cf..29fbd6450497 100644 --- a/Doc/library/doctest.rst +++ b/Doc/library/doctest.rst @@ -922,7 +922,7 @@ a :func:`load_tests` function in your test module:: def load_tests(loader, tests, ignore): tests.addTests(doctest.DocTestSuite(my_module_with_doctests)) - return test + return tests There are two main functions for creating :class:`unittest.TestSuite` instances from text files and modules with doctests: