cpython: 8acaa341df53 (original) (raw)
Mercurial > cpython
changeset 77602:8acaa341df53
Skip the test only if neccesary - Kernel bug in freebsd9 - #10142: Support for SEEK_HOLE/SEEK_DATA [#10142]
Jesus Cea jcea@jcea.es | |
---|---|
date | Sat, 23 Jun 2012 02:58:14 +0200 |
parents | 13f5a329d5ea |
children | 42b9d9d795f7 |
files | Lib/test/test_posix.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-)[+] [-] Lib/test/test_posix.py 4 |
line wrap: on
line diff
--- a/Lib/test/test_posix.py +++ b/Lib/test/test_posix.py @@ -1010,11 +1010,11 @@ class PosixTester(unittest.TestCase): posix.RTLD_GLOBAL posix.RTLD_LOCAL
- @unittest.skipUnless(hasattr(os, 'SEEK_HOLE'),
@unittest.skipIf(sys.platform == 'freebsd9', "Skip test because known kernel bug - " [](#l1.10) "http://lists.freebsd.org/pipermail/freebsd-amd64/2012-January/014332.html")[](#l1.11)"test needs an OS that reports file holes")[](#l1.8)