churchyard / rpms / python3

Forked from rpms/python3 6 years ago
Clone

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

3b4dd24
diff -up Python-3.3.0b1/Lib/test/test_posix.py.disable-test_fs_holes-in-rpm-build.patch Python-3.3.0b1/Lib/test/test_posix.py
3b4dd24
--- Python-3.3.0b1/Lib/test/test_posix.py.disable-test_fs_holes-in-rpm-build.patch	2012-07-23 13:53:11.636847977 -0400
3b4dd24
+++ Python-3.3.0b1/Lib/test/test_posix.py	2012-07-23 13:54:02.810208218 -0400
3b4dd24
@@ -1022,6 +1022,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")
3b4dd24
     @unittest.skipIf(sys.platform in ('freebsd7', 'freebsd8', 'freebsd9'),