summaryrefslogtreecommitdiff
path: root/Doc/library/doctest.rst
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-12-13 22:50:30 +0000
committerR. David Murray <rdmurray@bitdance.com>2010-12-13 22:50:30 +0000
commit409bc92e4843e4c3ca58edb35d463fb85772ce2b (patch)
tree6a259b268f9121addb1f6cf7430d900715b2b5e7 /Doc/library/doctest.rst
parent45cd3be15c1fa5367390d5dba96297ec729483de (diff)
downloadcpython-409bc92e4843e4c3ca58edb35d463fb85772ce2b.tar.gz
#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 159ab18396..29fbd64504 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: