[Python-checkins] cpython (merge 3.5 -> default): Fixed an error in previous commit.
serhiy.storchaka
python-checkins at python.org
Sun May 22 11:24:08 EDT 2016
https://hg.python.org/cpython/rev/bd67fd3eb42e
changeset: 101475:bd67fd3eb42e
parent: 101473:debe693c62b4
parent: 101474:41f065b2e451
user: Serhiy Storchaka <storchaka at gmail.com>
date: Sun May 22 18:23:51 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