]> granicus.if.org Git - python/commitdiff
Fix an oversight in merge r78282.
authorFlorent Xicluna <florent.xicluna@gmail.com>
Tue, 30 Mar 2010 10:39:44 +0000 (10:39 +0000)
committerFlorent Xicluna <florent.xicluna@gmail.com>
Tue, 30 Mar 2010 10:39:44 +0000 (10:39 +0000)
Lib/test/test_curses.py

index 4439fcd13c593c8781fda64665fd295bc83bf9d0..856f9c622e2b7877d07b981d23e957ecee643fad 100644 (file)
@@ -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')