summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_curses.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-05-22 15:16:20 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-05-22 15:16:20 (GMT)
commit53a00353b61b527c36447fffc1473d69ce8095bf (patch)
treecac0fbc3a49b4fb42caa996e669d60c1f0e3fb0f /Lib/test/test_curses.py
parent4e52558fb1d9dd1fffc55fd1103f23727315b16e (diff)
downloadcpython-53a00353b61b527c36447fffc1473d69ce8095bf.zip
cpython-53a00353b61b527c36447fffc1473d69ce8095bf.tar.gz
cpython-53a00353b61b527c36447fffc1473d69ce8095bf.tar.bz2
Temporary skip curses tests on non-tty (issue #27067).
Diffstat (limited to 'Lib/test/test_curses.py')
-rw-r--r--Lib/test/test_curses.py2
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: