[Python-checkins] cpython (3.5): Fixed an error in previous commit.
serhiy.storchaka
python-checkins at python.org
Sun May 22 11:24:07 EDT 2016
https://hg.python.org/cpython/rev/41f065b2e451
changeset: 101474:41f065b2e451
branch: 3.5
parent: 101472:433839643bbb
user: Serhiy Storchaka <storchaka at gmail.com>
date: Sun May 22 18:23:36 2016 +0300
summary:
Fixed an error in previous commit.
files:
Lib/test/test_curses.py | 2 +-
1 files changed, 1 insertions(+), 1 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
@@ -44,7 +44,7 @@
def setUpClass(cls):
if not sys.__stdout__.isatty():
# Temporary skip tests on non-tty
- self.skip('sys.__stdout__ is not a tty')
+ raise unittest.SkipTest('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