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:

<unittest.suite.TestSuite tests=[<unittest.suite.TestSuite 
tests=[<unittest.loader.ModuleImportFailure testMethod=badsyntax_3131>]>, 
<unittest.suite.TestSuite tests=[<unittest.loader.ModuleImportFailure 
testMethod=badsyntax_future10>]>, <unittest.suite.TestSuite 
tests=[<unittest.loader.ModuleImportFailure testMethod=badsyntax_future3>]>, 
<unittest.suite.TestSuite tests=[<unittest.loader.ModuleImportFailure 
testMethod=badsyntax_future4>]>, <unittest.suite.TestSuite 
tests=[<unittest.loader.ModuleImportFailure testMethod=badsyntax_future5>]>, 
<unittest.suite.TestSuite tests=[<unittest.loader.ModuleImportFailure 
testMethod=badsyntax_future6>]>, <unittest.suite.TestSuite 
tests=[<unittest.loader.ModuleImportFailure testMethod=badsyntax_future7>]>, 
<unittest.suite.TestSuite tests=[<unittest.loader.ModuleImportFailure 
testMethod=badsyntax_future8>]>, <unittest.suite.TestSuite 
tests=[<unittest.loader.ModuleImportFailure testMethod=badsyntax_future9>]>, 
<unittest.suite.TestSuite tests=[<unitte
 st.loader.ModuleImportFailure testMethod=badsyntax_pep3120>]>]>

----------
nosy: +Lita.Cho

_______________________________________
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