From: Antoine Pitrou Date: Sun, 24 May 2009 20:07:45 +0000 (+0000) Subject: The test-skipping API doesn't exist in 2.6 X-Git-Tag: v2.6.3rc1~247 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bcc2f1aaa61605923810317a169b1241155a1ac2;p=python The test-skipping API doesn't exist in 2.6 --- diff --git a/Lib/test/test_fcntl.py b/Lib/test/test_fcntl.py index 1977214a0f..350e233026 100755 --- a/Lib/test/test_fcntl.py +++ b/Lib/test/test_fcntl.py @@ -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)