summaryrefslogtreecommitdiffstats
path: root/Doc/library/doctest.rst
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-12-13 22:50:30 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2010-12-13 22:50:30 (GMT)
commit796343b1988e3e47c9b400053f844c2bb0352d9a (patch)
tree1b478923aef7a3f917e557ca3a0266e43c8584de /Doc/library/doctest.rst
parentfd94b173ce66ee07a7f6866d4f3b72349ccf650f (diff)
downloadcpython-796343b1988e3e47c9b400053f844c2bb0352d9a.zip
cpython-796343b1988e3e47c9b400053f844c2bb0352d9a.tar.gz
cpython-796343b1988e3e47c9b400053f844c2bb0352d9a.tar.bz2
#10698: fix typo in example.
Diffstat (limited to 'Doc/library/doctest.rst')
-rw-r--r--Doc/library/doctest.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/doctest.rst b/Doc/library/doctest.rst
index 159ab18..29fbd64 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: