mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
#10698: fix typo in example.
This commit is contained in:
parent
fd94b173ce
commit
796343b198
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue