remove test_support.TestSkipped and just use unittest.SkipTest
diff --git a/Lib/test/test_largefile.py b/Lib/test/test_largefile.py
index 1da0e7d..783881b 100644
--- a/Lib/test/test_largefile.py
+++ b/Lib/test/test_largefile.py
@@ -6,7 +6,7 @@
import sys
import unittest
from test.test_support import run_unittest, TESTFN, verbose, requires, \
- TestSkipped, unlink
+ SkipTest, unlink
try:
import signal
@@ -104,7 +104,7 @@
# this is already decided before start running the test suite
# but we do it anyway for extra protection
if not hasattr(f, 'truncate'):
- raise TestSkipped, "open().truncate() not available on this system"
+ raise SkipTest, "open().truncate() not available on this system"
f.seek(0, 2)
# else we've lost track of the true size
self.assertEqual(f.tell(), size+1)
@@ -155,7 +155,7 @@
except (IOError, OverflowError):
f.close()
unlink(TESTFN)
- raise TestSkipped, "filesystem does not have largefile support"
+ raise SkipTest, "filesystem does not have largefile support"
else:
f.close()
suite = unittest.TestSuite()