commit | ccef823939d4ef602f2d8d13d0bfec29eda597a5 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Fri Oct 13 12:59:12 2017 -0700 |
committer | GitHub <noreply@github.com> | Fri Oct 13 12:59:12 2017 -0700 |
tree | 652187dafdf3f4e16a1d9c865f0b10f20f84dfae | |
parent | 7f580970836b0f6bc9c5db868d95bea81a3e1558 [diff] |
bpo-25588: Fix regrtest when run inside IDLE (#3962) When regrtest in run inside IDLE, sys.stdout and sys.stderr are not TextIOWrapper objects and have no file descriptor associated: sys.stderr.fileno() raises io.UnsupportedOperation. Disable faulthandler and don't replace sys.stdout in that case.