forked from pool/python-psutil
- Update skip-obs.patch to also skip TestProcess.test_ionice_linux
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=135
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 25 04:05:30 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update skip-obs.patch to also skip TestProcess.test_ionice_linux
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 12 20:14:46 UTC 2021 - Enrico Belleri <idesmi@protonmail.com>
|
Wed May 12 20:14:46 UTC 2021 - Enrico Belleri <idesmi@protonmail.com>
|
||||||
|
|
||||||
|
@@ -114,3 +114,15 @@ Index: psutil-5.8.0/psutil/tests/test_contracts.py
|
|||||||
def test_disk_partitions(self):
|
def test_disk_partitions(self):
|
||||||
# Duplicate of test_system.py. Keep it anyway.
|
# Duplicate of test_system.py. Keep it anyway.
|
||||||
for disk in psutil.disk_partitions():
|
for disk in psutil.disk_partitions():
|
||||||
|
Index: psutil-5.8.0/psutil/tests/test_process.py
|
||||||
|
===================================================================
|
||||||
|
--- psutil-5.8.0.orig/psutil/tests/test_process.py
|
||||||
|
+++ psutil-5.8.0/psutil/tests/test_process.py
|
||||||
|
@@ -344,6 +344,7 @@ class TestProcess(PsutilTestCase):
|
||||||
|
|
||||||
|
@unittest.skipIf(not HAS_IONICE, "not supported")
|
||||||
|
@unittest.skipIf(not LINUX, "linux only")
|
||||||
|
+ @unittest.skipIf(True, "does not work reliably on obs")
|
||||||
|
def test_ionice_linux(self):
|
||||||
|
p = psutil.Process()
|
||||||
|
if not CI_TESTING:
|
||||||
|
Reference in New Issue
Block a user