From 6dd4974f0205962312c67bae9da6248cd9e9faec Mon Sep 17 00:00:00 2001 From: tligui_y Date: Mon, 28 Jul 2025 14:55:46 +0200 Subject: [PATCH] Update tests/test_utils_logcfg.py --- tests/test_utils_logcfg.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/test_utils_logcfg.py b/tests/test_utils_logcfg.py index 47278fb56..1491f2e1e 100644 --- a/tests/test_utils_logcfg.py +++ b/tests/test_utils_logcfg.py @@ -63,10 +63,6 @@ def test_import_logging_once_per_module(): assert result.returncode == 0, f"Script failed:\n{result.stderr}" stderr = result.stderr - top_level_lines = [ - line for line in stderr.splitlines() - if "importing:" in line and "logcfg" not in line and "site-packages" not in line - ] for mod in ["json", "math", "io", "random"]: count = sum(1 for line in top_level_lines if f"importing: {mod}" in line)