summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-05-22 15:23:51 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-05-22 15:23:51 (GMT)
commit70b49f60f41ef94825ab5293dba7e0d0b88ccd41 (patch)
tree0b96d69ad7eee2283d661b00cd660d98d3e745ba /Lib/test
parent66e26eaeacf4bbfab33ed2342c0849a80a652877 (diff)
parent0a91e43820d68155997bb236c23f9090a722189d (diff)
downloadcpython-70b49f60f41ef94825ab5293dba7e0d0b88ccd41.zip
cpython-70b49f60f41ef94825ab5293dba7e0d0b88ccd41.tar.gz
cpython-70b49f60f41ef94825ab5293dba7e0d0b88ccd41.tar.bz2
Fixed an error in previous commit.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_curses.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_curses.py b/Lib/test/test_curses.py
index 5a197cf..8411cdb 100644
--- a/Lib/test/test_curses.py
+++ b/Lib/test/test_curses.py
@@ -44,7 +44,7 @@ class TestCurses(unittest.TestCase):
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: