]> granicus.if.org Git - python/commitdiff
#10698: fix typo in example.
authorR. David Murray <rdmurray@bitdance.com>
Mon, 13 Dec 2010 22:50:30 +0000 (22:50 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Mon, 13 Dec 2010 22:50:30 +0000 (22:50 +0000)
Doc/library/doctest.rst

index 159ab18396cfdd74168e8ed8ba862d334144b64b..29fbd645049754662a57698747f6c9997458350a 100644 (file)
@@ -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: