Kaydet (Commit) bcc2f1aa authored tarafından Antoine Pitrou's avatar Antoine Pitrou

The test-skipping API doesn't exist in 2.6

üst e7e46f81
......@@ -89,7 +89,8 @@ class TestFcntl(unittest.TestCase):
# This flag is larger than 2**31 in 64-bit builds
flags = fcntl.DN_MULTISHOT
except AttributeError:
self.skipTest("F_NOTIFY or DN_MULTISHOT unavailable")
# F_NOTIFY or DN_MULTISHOT unavailable, skipping
return
fd = os.open(os.path.dirname(os.path.abspath(TESTFN)), os.O_RDONLY)
try:
fcntl.fcntl(fd, cmd, flags)
......
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