[Python-checkins] r87216 - python/branches/py3k/Doc/library/doctest.rst

r.david.murray python-checkins at python.org
Mon Dec 13 23:50:30 CET 2010


Author: r.david.murray
Date: Mon Dec 13 23:50:30 2010
New Revision: 87216

Log:
#10698: fix typo in example.


Modified:
   python/branches/py3k/Doc/library/doctest.rst

Modified: python/branches/py3k/Doc/library/doctest.rst
==============================================================================
--- python/branches/py3k/Doc/library/doctest.rst	(original)
+++ python/branches/py3k/Doc/library/doctest.rst	Mon Dec 13 23:50:30 2010
@@ -922,7 +922,7 @@
 
    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:


More information about the Python-checkins mailing list