You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2010-09-29.01:09:36.359>created_at=<Date2009-10-12.08:08:53.084>labels= ['type-bug', 'tests']
title='Output test failures on stderr in regrtest.py'updated_at=<Date2010-12-04.17:29:49.914>user='https://github.com/ezio-melotti'
regrtest.py should output all the names of the tests that fail and their
tracebacks on stderr.
This will provide an easy way to filter out the relevant information
(errors and tracebacks) from all the other outputs.
The current behavior seems incoherent, some tracebacks are sent to
stdout and other to stderr (see attached log).
Hello,
the attached patch seems to do the trick, at least on what I can verify here on my machine. I'd appreciate a bit more of test from more experienced developers, just to catch corner cases I didn't see.
I've decided that writing (some) errors to stdout instead of stderr is really a bug, not a feature request, and have backported this fix to 3.1 in r87053 and to 2.7 in r87055.
The one possible reason not to do this is that it is conceivable that it would affect the error reporting from an automated acceptance test (say for a distro). This seems unlikely to me, but if anyone thinks it is a serious concern I'll back out the backports.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: