New submission from Andrew Dalke <[email protected]>:
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: d...@python
components: Documentation
messages: 123904
nosy: dalke, d...@python
priority: normal
severity: normal
status: open
title: doctest load_tests() typo
versions: Python 3.2
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue10698>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com