diff --git a/tests/test_utils_logcfg.py b/tests/test_utils_logcfg.py index cde3502b..f19321d0 100644 --- a/tests/test_utils_logcfg.py +++ b/tests/test_utils_logcfg.py @@ -56,7 +56,7 @@ def test_import_logging_once_per_module(): import io import random """) - + with tempfile.NamedTemporaryFile("w", suffix=".py", delete=False) as tmp: tmp.write(code) tmp_path = tmp.name