This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: doctest load_tests() typo
Type: behavior Stage: resolved
Components: Documentation Versions: Python 3.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: dalke, docs@python, r.david.murray
Priority: normal Keywords:

Created on 2010-12-13 21:38 by dalke, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg123904 - (view) Author: Andrew Dalke (dalke) * (Python committer) Date: 2010-12-13 21:38
doctest.html Section 24.2.5 "Unittest API" says:


def load_tests(loader, tests, ignore):
    tests.addTests(doctest.DocTestSuite(my_module_with_doctests))
    return test

That last line should be "return tests"
msg123907 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2010-12-13 22:51
Thanks.  Fixed in r87216.
History
Date User Action Args
2022-04-11 14:57:10adminsetgithub: 54907
2010-12-13 22:51:01r.david.murraysetstatus: open -> closed

type: behavior

nosy: + r.david.murray
messages: + msg123907
resolution: fixed
stage: resolved
2010-12-13 21:38:55dalkecreate