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 xdegaye
Recipients asvetlov, benjamin.peterson, charettes, ezio.melotti, fabioz, gvanrossum, matthewlmcclure, matthewlmcclure-gmail, meador.inge, michael.foord, pitrou, python-dev, r.david.murray, rhettinger, terry.reedy, tim.peters, tomwardill, tshepang, vstinner, xdegaye
Date 2013-12-14.11:35:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387020952.63.0.0725806037812.issue11798@psf.upfronthosting.co.za>
In-reply-to
Content
This seems to break BaseTestSuite.countTestCases when invoked after the TestSuite has been run:
  ...
  File "Lib/unittest/suite.py", line 42, in countTestCases
    cases += test.countTestCases()
AttributeError: 'NoneType' object has no attribute 'countTestCases'

Attached patch attempts to fix it.
History
Date User Action Args
2013-12-14 11:35:52xdegayesetrecipients: + xdegaye, gvanrossum, tim.peters, rhettinger, terry.reedy, pitrou, vstinner, fabioz, benjamin.peterson, ezio.melotti, r.david.murray, michael.foord, matthewlmcclure, asvetlov, meador.inge, tshepang, python-dev, tomwardill, matthewlmcclure-gmail, charettes
2013-12-14 11:35:52xdegayesetmessageid: <1387020952.63.0.0725806037812.issue11798@psf.upfronthosting.co.za>
2013-12-14 11:35:52xdegayelinkissue11798 messages
2013-12-14 11:35:52xdegayecreate