aboutsummaryrefslogtreecommitdiff
path: root/tests/test_logging.py
diff options
context:
space:
mode:
authorCody Logan <cody@lokken.dev>2023-11-16 12:29:36 -0800
committerCody Logan <cody@lokken.dev>2023-11-16 12:29:36 -0800
commit06dfda7b5430bfc895a39defad50f184d41281f1 (patch)
tree858948a451305a117678f6047f1a6b9ab714f72b /tests/test_logging.py
parentdbb8dd8a3ba3e5bd65edae2aded253975708dc13 (diff)
downloadwikiget-06dfda7b5430bfc895a39defad50f184d41281f1.tar.gz
wikiget-06dfda7b5430bfc895a39defad50f184d41281f1.zip
Additional type checking import blocks
Diffstat (limited to 'tests/test_logging.py')
-rw-r--r--tests/test_logging.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/test_logging.py b/tests/test_logging.py
index 8d58cdf..a402120 100644
--- a/tests/test_logging.py
+++ b/tests/test_logging.py
@@ -17,14 +17,18 @@
"""Define tests related to the wikiget.logging module."""
+from __future__ import annotations
+
import logging
from pathlib import Path
-
-import pytest
+from typing import TYPE_CHECKING
from wikiget.logging import FileLogAdapter, configure_logging
from wikiget.wikiget import parse_args
+if TYPE_CHECKING:
+ import pytest
+
class TestLogging:
"""Define tests related to wikiget.logging.configure_logging and FileLogAdapter."""