This commit is contained in:
@@ -52,12 +52,9 @@ def test_custom_log_outputs(levelname, logfunc, message, capsys):
|
||||
def test_import_logging_once_per_module():
|
||||
code = textwrap.dedent("""
|
||||
from slic.utils.logcfg import *
|
||||
|
||||
import json
|
||||
import math
|
||||
import io
|
||||
import random
|
||||
import logging
|
||||
""")
|
||||
|
||||
with tempfile.NamedTemporaryFile("w", suffix=".py", delete=False) as tmp:
|
||||
|
||||
Reference in New Issue
Block a user