File memory_failure_early_kill.patch of Package python-python-prctl

Index: python-prctl-1.8.1/test_prctl.py
===================================================================
--- python-prctl-1.8.1.orig/test_prctl.py
+++ python-prctl-1.8.1/test_prctl.py
@@ -182,6 +182,7 @@ class PrctlTest(unittest.TestCase):
         self.assertEqual(prctl.get_keepcaps(), False)
 
     @require('set_mce_kill')
+    @unittest.skipIf(sys.maxsize <= 2**32 or arch == 's390x', 'no such file on this architecture')
     def test_mce_kill(self):
         """Test the MCE_KILL setting"""
         if not os.path.exists('/proc/sys/vm/memory_failure_early_kill'):
openSUSE Build Service is sponsored by