diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2021-01-02 17:35:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-02 17:35:15 (GMT) |
commit | 607501abb488fb37e33cf9d35260ab7baefa192f (patch) | |
tree | 700275b87e2b0cd7d0489f9de5440168dbdad890 /Lib/random.py | |
parent | a25011be8c6f62cb3333903befe6295d57f0bd30 (diff) | |
download | cpython-607501abb488fb37e33cf9d35260ab7baefa192f.zip cpython-607501abb488fb37e33cf9d35260ab7baefa192f.tar.gz cpython-607501abb488fb37e33cf9d35260ab7baefa192f.tar.bz2 |
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.
Diffstat (limited to 'Lib/random.py')
0 files changed, 0 insertions, 0 deletions