Skip to content

Commit a11295d

Browse files
Fixed an error in previous commit.
1 parent 52eb269 commit a11295d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_curses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class TestCurses(unittest.TestCase):
4444
def setUpClass(cls):
4545
if not sys.__stdout__.isatty():
4646
# Temporary skip tests on non-tty
47-
self.skip('sys.__stdout__ is not a tty')
47+
raise unittest.SkipTest('sys.__stdout__ is not a tty')
4848
cls.tmp = tempfile.TemporaryFile()
4949
fd = cls.tmp.fileno()
5050
else:

0 commit comments

Comments
 (0)