diff --git a/tools/pytest_plugins/ahriman_fixtures/__init__.py b/tools/pytest_plugins/ahriman_fixtures/__init__.py index 79b65224..84ac8130 100644 --- a/tools/pytest_plugins/ahriman_fixtures/__init__.py +++ b/tools/pytest_plugins/ahriman_fixtures/__init__.py @@ -132,6 +132,7 @@ def import_error(package: str, components: list[str], mocker: MockerFixture) -> import builtins _import = builtins.__import__ + # pylint: disable=redefined-builtin def test_import(name: str, globals: Any, locals: Any, from_list: list[str], level: Any): if name == package and (not components or any(component in from_list for component in components)): raise ImportError