[issue20030] unittest.TestLoader.discover return value incorrectly documented.

2014-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset cc74393062f7 by R David Murray in branch '2.7': #20030: doc that TestLoader.discover returns a TestSuite. http://hg.python.org/cpython/rev/cc74393062f7 New changeset 71df53af61ec by R David Murray in branch '3.3': #20030: doc that

[issue20030] unittest.TestLoader.discover return value incorrectly documented.

2014-03-11 Thread R. David Murray
R. David Murray added the comment: Thanks, Lita. -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20030 ___

[issue20030] unittest.TestLoader.discover return value incorrectly documented.

2014-03-10 Thread Lita Cho
Lita Cho added the comment: Hello! I would like to tackle this. Does that mean the documentation needs to change such that it states that the TestSuite object is returned? It looks you can iterate over the unittest.suite.TestSuite object, as I am getting something like this:

[issue20030] unittest.TestLoader.discover return value incorrectly documented.

2014-03-10 Thread R. David Murray
R. David Murray added the comment: It should say that it finds all the test modules and returns a TestSuite containing them. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20030

[issue20030] unittest.TestLoader.discover return value incorrectly documented.

2014-03-10 Thread Lita Cho
Lita Cho added the comment: Hello! I have created a patch for the new documentation. I would love it if I could get feedback. Thanks! -- keywords: +patch Added file: http://bugs.python.org/file34345/unittest_doc.patch ___ Python tracker

[issue20030] unittest.TestLoader.discover return value incorrectly documented.

2014-03-10 Thread R. David Murray
R. David Murray added the comment: 'returns' should be 'return', but otherwise it looks good to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20030 ___

[issue20030] unittest.TestLoader.discover return value incorrectly documented.

2014-03-10 Thread Lita Cho
Lita Cho added the comment: Good catch! I fixed that and loaded it in the attached patch! -- Added file: http://bugs.python.org/file34348/unittest_doc.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20030

[issue20030] unittest.TestLoader.discover return value incorrectly documented.

2014-01-27 Thread Moritz Neeb
Changes by Moritz Neeb n...@kpvn.de: -- nosy: +zormit ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20030 ___ ___ Python-bugs-list mailing list

[issue20030] unittest.TestLoader.discover return value incorrectly documented.

2013-12-20 Thread Arnaut Billings
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

[issue20030] unittest.TestLoader.discover return value incorrectly documented.

2013-12-20 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- keywords: +easy nosy: +ezio.melotti, michael.foord stage: - needs patch type: - enhancement versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20030