Remove unittest.SkipTest from backport of test for issue 6542.
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index 6d90f84..b3f72f4 100644
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -565,8 +565,9 @@
else:
break
if i < 2:
- raise unittest.SkipTest(
- "Unable to acquire a range of invalid file descriptors")
+ # Unable to acquire a range of invalid file descriptors,
+ # so skip the test (in 2.6+ this is a unittest.SkipTest).
+ return
self.assertEqual(os.closerange(fd, fd + i-1), None)
def test_dup2(self):