14
0

- 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
This commit is contained in:
2022-02-07 06:37:49 +00:00
committed by Git OBS Bridge
parent d02b483aba
commit 8778241533
12 changed files with 73 additions and 36 deletions

View File

@@ -1,12 +1,12 @@
Index: python-prctl-1.7/test_prctl.py
Index: python-prctl-1.8.1/test_prctl.py
===================================================================
--- python-prctl-1.7.orig/test_prctl.py
+++ python-prctl-1.7/test_prctl.py
@@ -189,6 +189,7 @@ class PrctlTest(unittest.TestCase):
self.assertNotEqual(sp.returncode, 0)
os._exit(0)
--- python-prctl-1.8.1.orig/test_prctl.py
+++ python-prctl-1.8.1/test_prctl.py
@@ -240,6 +240,7 @@ class PrctlTest(unittest.TestCase):
else:
self.assertRaises(OSError, prctl.pac_reset_keys, prctl.PAC_APIAKEY)
+ @unittest.skip('borked in sandbox')
def test_proctitle(self):
"""Test setting the process title, including too long titles"""
title = "This is a test!"
with open('/proc/self/cmdline') as fd: