Remove unittest.SkipTest from backport of test for issue 6542.

This commit is contained in:
R. David Murray 2009-07-27 01:14:38 +00:00
parent 133ebff5c8
commit bce6d5e129
1 changed files with 3 additions and 2 deletions

View File

@ -565,8 +565,9 @@ class TestInvalidFD(unittest.TestCase):
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):