[Python-checkins] cpython (3.5): Temporary skip curses tests on non-tty (issue #27067).
serhiy.storchaka
python-checkins at python.org
Sun May 22 11:20:14 EDT 2016
https://hg.python.org/cpython/rev/433839643bbb
changeset: 101472:433839643bbb
branch: 3.5
parent: 101467:3e6da30fa033
user: Serhiy Storchaka <storchaka at gmail.com>
date: Sun May 22 18:16:20 2016 +0300
summary:
Temporary skip curses tests on non-tty (issue #27067).
files:
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
--- a/Lib/test/test_curses.py
+++ b/Lib/test/test_curses.py
@@ -43,6 +43,8 @@
@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:
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list