Kaydet (Commit) bce6d5e1 authored tarafından R. David Murray's avatar R. David Murray

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

üst 133ebff5
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment