mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
Fixed an error in previous commit.
This commit is contained in:
commit
70b49f60f4
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class TestCurses(unittest.TestCase):
|
||||||
def setUpClass(cls):
|
def setUpClass(cls):
|
||||||
if not sys.__stdout__.isatty():
|
if not sys.__stdout__.isatty():
|
||||||
# Temporary skip tests on non-tty
|
# 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()
|
cls.tmp = tempfile.TemporaryFile()
|
||||||
fd = cls.tmp.fileno()
|
fd = cls.tmp.fileno()
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue