From d71de94fac2d005d791e2e8f4337d075a88518c69b5f63b20d8307770e1200ab Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 25 Nov 2021 04:06:35 +0000 Subject: [PATCH] - 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 --- python-psutil.changes | 5 +++++ skip-obs.patch | 12 ++++++++++++ 2 files changed, 17 insertions(+) diff --git a/python-psutil.changes b/python-psutil.changes index e5adc2e..3a8d828 100644 --- a/python-psutil.changes +++ b/python-psutil.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 25 04:05:30 UTC 2021 - Steve Kowalik + +- Update skip-obs.patch to also skip TestProcess.test_ionice_linux + ------------------------------------------------------------------- Wed May 12 20:14:46 UTC 2021 - Enrico Belleri diff --git a/skip-obs.patch b/skip-obs.patch index a666369..dc4674f 100644 --- a/skip-obs.patch +++ b/skip-obs.patch @@ -114,3 +114,15 @@ Index: psutil-5.8.0/psutil/tests/test_contracts.py def test_disk_partitions(self): # Duplicate of test_system.py. Keep it anyway. 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: