From b8b5f0e0a0f931715c54c0d707e4733b398b86e6 Mon Sep 17 00:00:00 2001 From: endolith Date: Sun, 23 Aug 2026 19:23:16 -0400 Subject: [PATCH] Re-enable subprocess coverage for scripts in .coveragerc pytest-cov 7.0.0 dropped automatic subprocess measurement; coverage.py must be told to patch subprocesses explicitly (patch = subprocess, requires coverage >= 7.10.6). Without this, the measure_freq / wave_analyzer script tests report 0% and total coverage drops. Co-authored-by: opencode --- .coveragerc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.coveragerc b/.coveragerc index ca8e96e..f8a3ac8 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,3 +1,6 @@ +[run] +patch = subprocess + [report] exclude_lines = def _