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.
S
Serhiy Storchaka committed
607501abb488fb37e33cf9d35260ab7baefa192f
Parent: a25011b
Committed by GitHub <noreply@github.com>
on 1/2/2021, 5:35:15 PM