diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-22 15:16:20 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-22 15:16:20 (GMT) |
commit | 53a00353b61b527c36447fffc1473d69ce8095bf (patch) | |
tree | cac0fbc3a49b4fb42caa996e669d60c1f0e3fb0f /Lib | |
parent | 4e52558fb1d9dd1fffc55fd1103f23727315b16e (diff) | |
download | cpython-53a00353b61b527c36447fffc1473d69ce8095bf.zip cpython-53a00353b61b527c36447fffc1473d69ce8095bf.tar.gz cpython-53a00353b61b527c36447fffc1473d69ce8095bf.tar.bz2 |
Temporary skip curses tests on non-tty (issue #27067).
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_curses.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_curses.py b/Lib/test/test_curses.py index 40ec5cf..5a197cf 100644 --- a/Lib/test/test_curses.py +++ b/Lib/test/test_curses.py @@ -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: |