summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-05-22 15:23:36 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-05-22 15:23:36 (GMT)
commit0a91e43820d68155997bb236c23f9090a722189d (patch)
treea1a6fec98e887a4fe9877cc57238f0c8b3d00fcc
parent53a00353b61b527c36447fffc1473d69ce8095bf (diff)
downloadcpython-0a91e43820d68155997bb236c23f9090a722189d.zip
cpython-0a91e43820d68155997bb236c23f9090a722189d.tar.gz
cpython-0a91e43820d68155997bb236c23f9090a722189d.tar.bz2
Fixed an error in previous commit.
-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: