python-psutil/python-psutil-skip-test-sensors-temperatures.patch
Karolina Surma 7564b2429d Skip unreliable test_sensors_temperatures
Resolves: RHEL-58359
2024-09-11 10:43:08 +02:00

14 lines
542 B
Diff

diff --git a/psutil/tests/test_system.py b/psutil/tests/test_system.py
index c146f3e..671babc 100755
--- a/psutil/tests/test_system.py
+++ b/psutil/tests/test_system.py
@@ -903,7 +903,7 @@ class TestNetAPIs(PsutilTestCase):
class TestSensorsAPIs(PsutilTestCase):
- @unittest.skipIf(not HAS_SENSORS_TEMPERATURES, "not supported")
+ @unittest.skip("https://github.com/giampaolo/psutil/issues/2434")
def test_sensors_temperatures(self):
temps = psutil.sensors_temperatures()
for name, entries in temps.items():