This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients docs@python, michael.foord, techtonik, terry.reedy
Date 2011-03-04.23:17:01
SpamBayes Score 1.1946e-12
Marked as misclassified No
Message-id <1299280622.52.0.0134351857047.issue11385@psf.upfronthosting.co.za>
In-reply-to
Content
Doc issues should be 'tested' and reported against the latest versions. 2.6.6 doc is effectively the last 2.6 version.

TextTextRunner is not completely undocumented.
In 3.2
>>> help(t.run)
Help on function run in module unittest.runner:

run(self, test)
    Run the given test case or test suite.

Searching on 'run(' finds near the top of the unittest chapter (2.7, 3.2):
"A test runner is an object that provides a single method, run(), which accepts a TestCase or TestSuite object as a parameter, and returns a result object."

I agree that the entry for TextTestRunner near the bottom should include one for .run, with at least the doc string, but maybe a backreference to the discussion near the top.

It is not clear to me how TextTestRunner is expected to be used. Does unittest.main instantiate one, and call run, behind the scenes?
History
Date User Action Args
2011-03-04 23:17:02terry.reedysetrecipients: + terry.reedy, techtonik, michael.foord, docs@python
2011-03-04 23:17:02terry.reedysetmessageid: <1299280622.52.0.0134351857047.issue11385@psf.upfronthosting.co.za>
2011-03-04 23:17:01terry.reedylinkissue11385 messages
2011-03-04 23:17:01terry.reedycreate