Terry J. Reedy <tjre...@udel.edu> added the comment:

Since the current behavior matches the current doc,

"class unittest.TextTestRunner(stream=sys.stderr, descriptions=True, 
verbosity=1, runnerclass=None, warnings=None) 
A basic test runner implementation which prints results on standard error. ..."

this is a feature change request, not a bug report. Hence, the change should 
not be backported, lest it surprise someone. One could even question whether 
the change should be introduced now, but is does seem rather minor.

That aside, the doc needs to be changed and a version-changed note added. 
Something like

"class unittest.TextTestRunner(stream=None, descriptions=True, verbosity=1, 
runnerclass=None, warnings=None) 
A basic test runner implementation. If *stream* is the default None, results go 
to standard error. ...
Version changed 3.2: default stream determined when class is instantiated 
rather than when imported."

----------
nosy: +terry.reedy
type: behavior -> feature request
versions:  -Python 2.7, Python 3.1

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

Reply via email to