[Python-checkins] r72897 - python/branches/release26-maint/Lib/test/test_fcntl.py

antoine.pitrou python-checkins at python.org
Sun May 24 22:07:45 CEST 2009


Author: antoine.pitrou
Date: Sun May 24 22:07:45 2009
New Revision: 72897
Log:
The test-skipping API doesn't exist in 2.6
Modified:
 python/branches/release26-maint/Lib/test/test_fcntl.py
Modified: python/branches/release26-maint/Lib/test/test_fcntl.py
==============================================================================
--- python/branches/release26-maint/Lib/test/test_fcntl.py	(original)
+++ python/branches/release26-maint/Lib/test/test_fcntl.py	Sun May 24 22:07:45 2009
@@ -89,7 +89,8 @@
 # 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)


More information about the Python-checkins mailing list

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