[Python-checkins] cpython (merge 3.3 -> default): skip a fcntl test on ARM Linux that isn't supported there.

gregory.p.smith python-checkins at python.org
Sun Mar 31 19:26:06 CEST 2013


http://hg.python.org/cpython/rev/fcb6c7119899
changeset: 83039:fcb6c7119899
parent: 83036:abbbe1f90635
parent: 83038:8324e63fc7a2
user: Gregory P. Smith <greg at krypto.org>
date: Sun Mar 31 10:25:42 2013 -0700
summary:
 skip a fcntl test on ARM Linux that isn't supported there.
files:
 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
--- a/Lib/test/test_fcntl.py
+++ b/Lib/test/test_fcntl.py
@@ -1,5 +1,6 @@
 """Test program for the fcntl C module.
 """
+import platform
 import os
 import struct
 import sys
@@ -90,6 +91,9 @@
 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'.
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /