commit | 607501abb488fb37e33cf9d35260ab7baefa192f | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Sat Jan 02 19:35:15 2021 +0200 |
committer | GitHub <noreply@github.com> | Sat Jan 02 19:35:15 2021 +0200 |
tree | 700275b87e2b0cd7d0489f9de5440168dbdad890 | |
parent | a25011be8c6f62cb3333903befe6295d57f0bd30 [diff] |
bpo-42789: Don't skip curses tests on non-tty. (GH-24009) If __stdout__ is not attached to terminal, try to use __stderr__ if it is attached to terminal, or open the terminal device, or use regular file as terminal, but some functions will be untested in the latter case.