Commit 796343b1 authored by R. David Murray's avatar R. David Murray

#10698: fix typo in example.

parent fd94b173
...@@ -922,7 +922,7 @@ a :func:`load_tests` function in your test module:: ...@@ -922,7 +922,7 @@ a :func:`load_tests` function in your test module::
def load_tests(loader, tests, ignore): def load_tests(loader, tests, ignore):
tests.addTests(doctest.DocTestSuite(my_module_with_doctests)) tests.addTests(doctest.DocTestSuite(my_module_with_doctests))
return test return tests
There are two main functions for creating :class:`unittest.TestSuite` instances There are two main functions for creating :class:`unittest.TestSuite` instances
from text files and modules with doctests: from text files and modules with doctests:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment