diff options
author | Gregory P. Smith <greg@krypto.org> | 2013-03-31 10:10:50 -0700 |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2013-03-31 10:10:50 -0700 |
commit | e5aefa452b2e3a5a834610cefa1656f36673f686 (patch) | |
tree | 0f8fb1ec9e782c70c7d1a76ca0ab629b080abf4b /Lib/test/test_fcntl.py | |
parent | 71c9e1a5c36cfc53ff760e6c3b4d957424d73d72 (diff) | |
download | cpython-git-e5aefa452b2e3a5a834610cefa1656f36673f686.tar.gz |
Skip a test of an old API on ARM Linux that isn't supported by the OS.
Diffstat (limited to 'Lib/test/test_fcntl.py')
-rw-r--r-- | Lib/test/test_fcntl.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_fcntl.py b/Lib/test/test_fcntl.py index 0ce3a5dd7a..09cb047298 100644 --- a/Lib/test/test_fcntl.py +++ b/Lib/test/test_fcntl.py @@ -3,6 +3,7 @@ OS/2+EMX doesn't support the file locking operations. """ +import platform import os import struct import sys @@ -97,6 +98,9 @@ class TestFcntl(unittest.TestCase): self.assertRaises(OverflowError, fcntl.fcntl, F(_testcapi.INT_MIN - 1), fcntl.F_SETFL, os.O_NONBLOCK) + @unittest.skipIf( + platform.machine().startswith('arm') and platform.system() == 'Linux', + "ARM Linux returns EINVAL for F_NOTIFY DN_MULTISHOT") def test_fcntl_64_bit(self): # Issue #1309352: fcntl shouldn't fail when the third arg fits in a # C 'long' but not in a C 'int'. |