Skip test_misc.TestCommonModule.test_debug

This commit is contained in:
Miro Hrončok 2024-02-09 15:57:22 +01:00
parent ac619352d8
commit c8d6eb87da
2 changed files with 17 additions and 0 deletions

View File

@ -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

View File

@ -19,6 +19,11 @@ Patch: https://github.com/giampaolo/psutil/pull/2372.patch
# Failure reported upstream: https://github.com/giampaolo/psutil/issues/2373 # Failure reported upstream: https://github.com/giampaolo/psutil/issues/2373
# #
Patch: python-psutil-skip-test_emulate_multi_cpu-on-aarch64.patch 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: gcc
BuildRequires: sed BuildRequires: sed