Irit Katriel <iritkatr...@yahoo.com> added the comment:

The justification on the PR is: 

"The problem is that when I'm trying to collect test results if one of the 
tests is being skipped the error below pops up because test_result object is 
None.
AttributeError: 'NoneType' object has no attribute 'testsRun'"

which can be worked around with a simple "is not None" check. 

There will be cases where someone wants to know that a test was not executed, 
and inspecting a TestResult object to see that it actually represents Nothing 
is not as natural.

I'm -1 on this change.

----------
nosy: +iritkatriel

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41620>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to