diff options
| author | Antoine Pitrou <solipsis@pitrou.net> | 2009-05-24 20:07:45 (GMT) |
|---|---|---|
| committer | Antoine Pitrou <solipsis@pitrou.net> | 2009-05-24 20:07:45 (GMT) |
| commit | bcc2f1aaa61605923810317a169b1241155a1ac2 (patch) | |
| tree | 021811ebad33e41f808d1d731cfd8feca23997d8 | |
| parent | e7e46f8152b50f76114b324171d69f88512e98cb (diff) | |
| download | cpython-bcc2f1aaa61605923810317a169b1241155a1ac2.zip cpython-bcc2f1aaa61605923810317a169b1241155a1ac2.tar.gz cpython-bcc2f1aaa61605923810317a169b1241155a1ac2.tar.bz2 | |
The test-skipping API doesn't exist in 2.6
| -rwxr-xr-x | Lib/test/test_fcntl.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_fcntl.py b/Lib/test/test_fcntl.py index 1977214..350e233 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) |
