Update tests/metrics/test_thread_cpu.py

Co-authored-by: Eric Eastwood <erice@element.io>
This commit is contained in:
Erik JohnstonandEric Eastwood authored and GitHub committed 2026-11-05 15:56:43 +00:00
1 parent 5dbf7995e7
commit f8831ac0b4
1 file changed
+1 -1
+1 -1
View File
@@ -57,7 +57,7 @@ class ThreadCPUMetricsTestCase(unittest.TestCase):
type, and the types add up to the CPU the whole process used.
"""
if not os.path.isdir("/proc/self/task"):
self.skipTest("thread CPU metrics need /proc/self/task (Linux only)")
self.skipTest("Skipping as `ThreadCPUMetrics` tests require /proc/self/task (Linux only)")
# A fresh collector, so threads registered elsewhere don't count. It
# reports process-level metrics, so it has no `SERVER_NAME_LABEL`.