churchyard / rpms / python3

Forked from rpms/python3 6 years ago
Clone

Blame 00160-disable-test_fs_holes-in-rpm-build.patch

62d7207
diff -up cpython-59223da36dec/Lib/test/test_posix.py.disable-test_fs_holes-in-rpm-build cpython-59223da36dec/Lib/test/test_posix.py
62d7207
--- cpython-59223da36dec/Lib/test/test_posix.py.disable-test_fs_holes-in-rpm-build	2012-08-07 17:15:59.000000000 -0400
62d7207
+++ cpython-59223da36dec/Lib/test/test_posix.py	2012-08-07 17:16:53.528330330 -0400
62d7207
@@ -973,6 +973,7 @@ class PosixTester(unittest.TestCase):
3b4dd24
         posix.RTLD_GLOBAL
3b4dd24
         posix.RTLD_LOCAL
3b4dd24
 
3b4dd24
+    @unittest._skipInRpmBuild('running kernel may not match kernel in chroot')
3b4dd24
     @unittest.skipUnless(hasattr(os, 'SEEK_HOLE'),
3b4dd24
                          "test needs an OS that reports file holes")
62d7207
     def test_fs_holes(self):