Change by Leo Arias :
--
keywords: +patch
pull_requests: +5323
stage: commit review -> patch review
___
Python tracker
<https://bugs.python.org/issu
Changes by Leo Arias :
--
nosy: +elopio
___
Python tracker
<http://bugs.python.org/issue16662>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
New submission from Leo Arias:
Using the unittest's texttestresult with stdout and verbosity 2 will fail
because that stream doesn't have a writeln method.
File "/usr/lib/python2.7/unittest/suite.py", line 108, in run
test(result)
File "/usr/lib/python2.7/un
Leo Arias added the comment:
A test with a fix.
I'm not sure if this is the way to go, because the stream in TextTestRunner
will be decorated twice.
--
keywords: +patch
Added file:
http://bugs.python.org/file28379/fix-16739-texttestresult_writeln.
Leo Arias added the comment:
What if we check if the stream has the writeln method?
--
Added file:
http://bugs.python.org/file28536/fix-16739-texttestresult_writeln-v2.patch
___
Python tracker
<http://bugs.python.org/issue16