forked from pool/python-python-prctl
* No changelog. - Rebase all patches. - Add patch check-for-python310-correctly.patch: * Check for Python 3.10 correctly. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-prctl?expand=0&rev=9
13 lines
565 B
Diff
13 lines
565 B
Diff
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
|
|
@@ -259,6 +259,7 @@ class PrctlTest(unittest.TestCase):
|
|
self.assertEqual(prctl.get_name(), name[:15])
|
|
|
|
@require('get_no_new_privs')
|
|
+ @unittest.skip('test fails, because ping doesn\'t use capabilities anymore (boo#1174504)')
|
|
def test_no_new_privs(self):
|
|
"""Test the no_new_privs function"""
|
|
self.assertEqual(prctl.get_no_new_privs(), 0)
|