[issue15938] expose way to count examples in doctest.DocFileSuite()

2012-09-13 Thread Chris Jerdonek
Chris Jerdonek added the comment: > # The return value of DocFileSuite is a unittest.TestCase instance, and s/unittest.TestCase/unittest.TestSuite/ (as elsewhere in the comment) -- ___ Python tracker _

[issue15938] expose way to count examples in doctest.DocFileSuite()

2012-09-13 Thread Chris Jerdonek
New submission from Chris Jerdonek: This issue is to add to the doctest module an easy way to obtain the number of doctest examples in a unittest.TestSuite instance returned by a call to the doctest.DocFileSuite() function. The unittest.TestSuite class currently exposes a countTestCases() meth