From 7236c00a0b6f773f5818a536a2c5ae4185fc81e7 Mon Sep 17 00:00:00 2001 From: tligui_y Date: Fri, 1 Aug 2025 03:22:33 +0200 Subject: [PATCH] Update tests/test_utils_logcfg.py --- tests/test_utils_logcfg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_utils_logcfg.py b/tests/test_utils_logcfg.py index 86b0869ba..931afdfbe 100644 --- a/tests/test_utils_logcfg.py +++ b/tests/test_utils_logcfg.py @@ -80,8 +80,8 @@ def test_import_logging_once_per_module(): assert result.returncode == 0, f"Script failed:\n{result.stderr}" stderr = result.stderr + print(stderr) lines = stderr.splitlines() - for mod in ["json", "math", "io", "random"]: count = sum(1 for line in lines if f"importing: {mod}" in line) assert count == 1, f"Expected 1 import log for '{mod}', found {count}"