diff options
Diffstat (limited to 'tests/test_logging.py')
| -rw-r--r-- | tests/test_logging.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_logging.py b/tests/test_logging.py index 55a3397..5d3aa4c 100644 --- a/tests/test_logging.py +++ b/tests/test_logging.py @@ -18,7 +18,7 @@ import logging from pathlib import Path -from pytest import LogCaptureFixture +import pytest from wikiget.logging import FileLogAdapter, configure_logging from wikiget.wikiget import parse_args @@ -27,7 +27,7 @@ from wikiget.wikiget import parse_args class TestLogging: logger = logging.getLogger() - def test_custom_log_adapter(self, caplog: LogCaptureFixture) -> None: + def test_custom_log_adapter(self, caplog: pytest.LogCaptureFixture) -> None: """The custom log adapter should prepend the filename to log messages.""" args = parse_args(["File:Example.jpg"]) configure_logging(args.verbose, args.logfile, quiet=args.quiet) |
