]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - python3/patches/00160-disable-test_fs_holes-in-rpm-build.patch
python3: New package.
[people/ms/ipfire-3.x.git] / python3 / patches / 00160-disable-test_fs_holes-in-rpm-build.patch
1 diff -up cpython-59223da36dec/Lib/test/test_posix.py.disable-test_fs_holes-in-rpm-build cpython-59223da36dec/Lib/test/test_posix.py
2 --- cpython-59223da36dec/Lib/test/test_posix.py.disable-test_fs_holes-in-rpm-build 2012-08-07 17:15:59.000000000 -0400
3 +++ cpython-59223da36dec/Lib/test/test_posix.py 2012-08-07 17:16:53.528330330 -0400
4 @@ -973,6 +973,7 @@ class PosixTester(unittest.TestCase):
5 posix.RTLD_GLOBAL
6 posix.RTLD_LOCAL
7
8 + @unittest._skipInRpmBuild('running kernel may not match kernel in chroot')
9 @unittest.skipUnless(hasattr(os, 'SEEK_HOLE'),
10 "test needs an OS that reports file holes")
11 def test_fs_holes(self):