New submission from Arnaut Billings:

Here: 
http://docs.python.org/3/library/unittest.html#unittest.TestLoader.discover

it states that "Find and return all test modules ..."

This implies that in order to get a test suite, one has to iterate over the 
return value of unittest.TestLoader.discover and call loadTestsFromModule for 
each module.

But, the type of the result of unittest.TestLoader.discover returns: <class 
'unittest.suite.TestSuite'>

----------
assignee: docs@python
components: Documentation
messages: 206670
nosy: arnaut-billings, docs@python
priority: normal
severity: normal
status: open
title: unittest.TestLoader.discover return value incorrectly documented.
versions: Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20030>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to