14
0
Files
python-python-prctl/disable_no_new_privs.patch
Steve Kowalik 8778241533 - Update to 1.8.1:
* 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
2022-02-07 06:37:49 +00:00

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)