Xavier de Gaye added the comment:
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.
----------
nosy: +xdegaye
Added file: http://bugs.python.org/file33131/countTestCases.patch
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue11798>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com