From: Serhiy Storchaka Date: Sun, 22 May 2016 15:16:20 +0000 (+0300) Subject: Temporary skip curses tests on non-tty (issue #27067). X-Git-Tag: v3.5.2rc1~125 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=53a00353b61b527c36447fffc1473d69ce8095bf;p=thirdparty%2FPython%2Fcpython.git Temporary skip curses tests on non-tty (issue #27067). --- diff --git a/Lib/test/test_curses.py b/Lib/test/test_curses.py index 40ec5cf1de4c..5a197cffd427 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: