Update tests/test_utils_logcfg.py
Run CI Tests / test (push) Successful in 28s

This commit is contained in:
2025-07-28 14:55:46 +02:00
parent 98f785d1fb
commit 6dd4974f02
-4
View File
@@ -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)