diff options
| author | jvoisin | 2023-09-08 22:15:00 +0200 |
|---|---|---|
| committer | jvoisin | 2023-09-08 22:16:45 +0200 |
| commit | 73f2a87aa0f99fb4816f2b4d86dae11c4980b1a2 (patch) | |
| tree | b1a45369b4c29d4883cee5e20ae3458b3e081fe6 /tests | |
| parent | abcdf07ef446310e67285b0c1eef633b53e21dbd (diff) | |
Provide a name for the loggers
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_corrupted_files.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
| 14 | 14 | ||
| 15 | # No need to logging messages, should something go wrong, | 15 | # No need to logging messages, should something go wrong, |
| 16 | # the testsuite _will_ fail. | 16 | # the testsuite _will_ fail. |
| 17 | logger = logging.getLogger() | 17 | logger = logging.getLogger(__name__) |
| 18 | logger.setLevel(logging.FATAL) | 18 | logger.setLevel(logging.FATAL) |
| 19 | 19 | ||
| 20 | 20 | ||
