Chris Jerdonek added the comment:

I'm still opposed to exposing these features only together.  Annotating the 
failure message with parametrization data is useful in its own right, but what 
if there are 500 subtests in a loop and you don't want 500 failures to be 
registered for that test case?  This is related to Ezio's comment near the top 
about adding too much noise.

addMessage was just one suggestion.  A different, functionally equivalent 
suggestion would be to add a "failFast" (default: False) keyword parameter to 
subTest() or alternatively a "maxFailures" (default: None) keyword parameter.

----------

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

Reply via email to