diff --git a/Lib/test/test_curses.py b/Lib/test/test_curses.py index 4439fcd13c5..856f9c622e2 100644 --- a/Lib/test/test_curses.py +++ b/Lib/test/test_curses.py @@ -23,7 +23,8 @@ requires('curses') # FreeBSD buildbots, preventing other tests from running. See issue # #7384. if 'freebsd' in sys.platform: - raise unittest.SkipTest('The curses module is broken on FreeBSD. See http://bugs.python.org/issue7384.') + raise TestSkipped('The curses module is broken on FreeBSD. ' + 'See http://bugs.python.org/issue7384.') # XXX: if newterm was supported we could use it instead of initscr and not exit term = os.environ.get('TERM')