[docs] [issue10698] doctest load_tests() typo

Andrew Dalke report at bugs.python.org
Mon Dec 13 22:38:56 CET 2010


New submission from Andrew Dalke <dalke at dalkescientific.com>:

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"

----------
assignee: docs at python
components: Documentation
messages: 123904
nosy: dalke, docs at python
priority: normal
severity: normal
status: open
title: doctest load_tests() typo
versions: Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10698>
_______________________________________


More information about the docs mailing list