Commit 0ae237bb authored by R. David Murray's avatar R. David Murray

Fix backport of test_curses test skip.

parent 3e13bd66
......@@ -270,7 +270,7 @@ if __name__ == '__main__':
unit_tests()
else:
if not sys.__stdout__.isatty():
raise unittest.SkipTest("sys.__stdout__ is not a tty")
raise TestSkipped("sys.__stdout__ is not a tty")
# testing setupterm() inside initscr/endwin
# causes terminal breakage
curses.setupterm(fd=sys.__stdout__.fileno())
......
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