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 2010-12-13 22:51 by r.david.murray. 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
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