aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/random.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-01-02 19:35:15 +0200
committerGitHub <noreply@github.com>2021-01-02 19:35:15 +0200
commit607501abb488fb37e33cf9d35260ab7baefa192f (patch)
tree700275b87e2b0cd7d0489f9de5440168dbdad890 /Lib/random.py
parenta25011be8c6f62cb3333903befe6295d57f0bd30 (diff)
downloadcpython-607501abb488fb37e33cf9d35260ab7baefa192f.tar.gz
cpython-607501abb488fb37e33cf9d35260ab7baefa192f.zip
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