Fix an oversight in merge r78282.
diff --git a/Lib/test/test_curses.py b/Lib/test/test_curses.py
index 4439fcd..856f9c6 100644
--- a/Lib/test/test_curses.py
+++ b/Lib/test/test_curses.py
@@ -23,7 +23,8 @@
 # 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')