summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-05-22 15:17:25 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-05-22 15:17:25 (GMT)
commit66e26eaeacf4bbfab33ed2342c0849a80a652877 (patch)
tree2b4eec3a187aa9dfb38aa54d7b53d81ec7e382e7 /Lib
parent835416cf7caff0d397c10b98eb146372d6d6dfd0 (diff)
parent53a00353b61b527c36447fffc1473d69ce8095bf (diff)
downloadcpython-66e26eaeacf4bbfab33ed2342c0849a80a652877.zip
cpython-66e26eaeacf4bbfab33ed2342c0849a80a652877.tar.gz
cpython-66e26eaeacf4bbfab33ed2342c0849a80a652877.tar.bz2
Temporary skip curses tests on non-tty (issue #27067).
Diffstat (limited to 'Lib')
-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: