diff --git a/tests/metrics/test_thread_cpu.py b/tests/metrics/test_thread_cpu.py index da913e623a..e27f194def 100644 --- a/tests/metrics/test_thread_cpu.py +++ b/tests/metrics/test_thread_cpu.py @@ -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`.