From 73f2a87aa0f99fb4816f2b4d86dae11c4980b1a2 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Fri, 8 Sep 2023 22:15:00 +0200 Subject: Provide a name for the loggers --- tests/test_corrupted_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_corrupted_files.py') diff --git a/tests/test_corrupted_files.py b/tests/test_corrupted_files.py index 2adf42e..639145c 100644 --- a/tests/test_corrupted_files.py +++ b/tests/test_corrupted_files.py @@ -14,7 +14,7 @@ from libmat2 import harmless, video, web, archive # No need to logging messages, should something go wrong, # the testsuite _will_ fail. -logger = logging.getLogger() +logger = logging.getLogger(__name__) logger.setLevel(logging.FATAL) -- cgit v1.3