diff --git a/python-psutil-skip-test_debug.patch b/python-psutil-skip-test_debug.patch new file mode 100644 index 0000000..1644216 --- /dev/null +++ b/python-psutil-skip-test_debug.patch @@ -0,0 +1,12 @@ +diff --git a/psutil/tests/test_misc.py b/psutil/tests/test_misc.py +index 700c054..d0b675e 100755 +--- a/psutil/tests/test_misc.py ++++ b/psutil/tests/test_misc.py +@@ -569,6 +569,7 @@ class TestCommonModule(PsutilTestCase): + with mock.patch('psutil._common.stat.S_ISREG', return_value=False): + assert not isfile_strict(this_file) + ++ @unittest.skip("https://github.com/giampaolo/psutil/issues/2374") + def test_debug(self): + if PY3: + from io import StringIO diff --git a/python-psutil.spec b/python-psutil.spec index 3af3cd9..ef18456 100644 --- a/python-psutil.spec +++ b/python-psutil.spec @@ -19,6 +19,11 @@ Patch: https://github.com/giampaolo/psutil/pull/2372.patch # Failure reported upstream: https://github.com/giampaolo/psutil/issues/2373 # Patch: python-psutil-skip-test_emulate_multi_cpu-on-aarch64.patch +# +# Skip test_misc.TestCommonModule.test_debug +# Failure reported upstream: https://github.com/giampaolo/psutil/issues/2374 +# +Patch: python-psutil-skip-test_debug.patch BuildRequires: gcc BuildRequires: sed