[Python-checkins] cpython: Skip test in freebsd entirely - Kernel bug in freebsd7/8/9 - #10142: Support

jesus.cea python-checkins at python.org
Mon Jun 25 13:46:35 CEST 2012


http://hg.python.org/cpython/rev/814557548af5
changeset:   77769:814557548af5
user:        Jesus Cea <jcea at jcea.es>
date:        Mon Jun 25 13:45:38 2012 +0200
summary:
  Skip test in freebsd entirely - Kernel bug in freebsd7/8/9 - #10142: Support for SEEK_HOLE/SEEK_DATA

files:
  Lib/test/test_posix.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py
--- a/Lib/test/test_posix.py
+++ b/Lib/test/test_posix.py
@@ -1017,7 +1017,7 @@
 
     @unittest.skipUnless(hasattr(os, 'SEEK_HOLE'),
                          "test needs an OS that reports file holes")
-    @unittest.skipIf(sys.platform == 'freebsd9',
+    @unittest.skipIf(sys.platform in ('freebsd7', 'freebsd8', 'freebsd9'),
             "Skip test because known kernel bug - " \
             "http://lists.freebsd.org/pipermail/freebsd-amd64/2012-January/014332.html")
     def test_fs_holes(self):

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list