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

This commit is contained in:
2025-08-01 04:06:17 +02:00
parent 197f706f0b
commit d9408355c5
+1 -6
View File
@@ -53,17 +53,12 @@ def test_import_logging_once_per_module():
code = textwrap.dedent("""
from slic.utils.logcfg import setup_import_logging
setup_import_logging()
from slic.utils.logcfg import add_log_Level, logcfg
from logzero import logger as log
import logging
add_log_Level(log, "TRACE", logging.DEBUG - 1, func_name="trace")
logcfg("TRACE")
import json
import math
import io
import random
import logging
""")
with tempfile.NamedTemporaryFile("w", suffix=".py", delete=False) as tmp: