Commit 0a91e438 authored by Serhiy Storchaka's avatar Serhiy Storchaka

Fixed an error in previous commit.

parent 53a00353
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment