Commit 53a00353 authored by Serhiy Storchaka's avatar Serhiy Storchaka

Temporary skip curses tests on non-tty (issue #27067).

parent 4e52558f
......@@ -43,6 +43,8 @@ class TestCurses(unittest.TestCase):
@classmethod
def setUpClass(cls):
if not sys.__stdout__.isatty():
# Temporary skip tests on non-tty
self.skip('sys.__stdout__ is not a tty')
cls.tmp = tempfile.TemporaryFile()
fd = cls.tmp.fileno()
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment