commit | 0ae237bb4552e5a6e45dedd514ee962eaffa7b3a | [log] [tgz] |
---|---|---|
author | R. David Murray <rdmurray@bitdance.com> | Tue Nov 03 22:47:06 2009 +0000 |
committer | R. David Murray <rdmurray@bitdance.com> | Tue Nov 03 22:47:06 2009 +0000 |
tree | 369c80e450a7b981b444834245f3747a6de3a1d6 | |
parent | 3e13bd6630106bc3e5c7111d1a2486d5dd29ba51 [diff] [blame] |
Fix backport of test_curses test skip.
diff --git a/Lib/test/test_curses.py b/Lib/test/test_curses.py index 61f9ca8..b2ea4df 100644 --- a/Lib/test/test_curses.py +++ b/Lib/test/test_curses.py
@@ -270,7 +270,7 @@ 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())