From 1f4046739a8fe913872a8b17362fe81a81adb581 Mon Sep 17 00:00:00 2001 From: Cody Logan Date: Tue, 7 Nov 2023 12:19:15 -0800 Subject: Fix some pytest style issues --- tests/test_logging.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_logging.py') 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) -- cgit v1.2.3