From b72eae85a2483f195a0d8f63ee21f6e57354fe1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Mazzucotelli?= Date: Sat, 17 Aug 2024 17:38:54 +0200 Subject: [PATCH] ci: Ignore Mypy warning --- tests/test_loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_loader.py b/tests/test_loader.py index 9a42cd31..5453fa3b 100644 --- a/tests/test_loader.py +++ b/tests/test_loader.py @@ -486,7 +486,7 @@ def test_not_calling_package_loaded_hook_on_something_else_than_package() -> Non """Always call the `on_package_loaded` hook on a package, not any other object.""" with temporary_pypackage("pkg", {"__init__.py": "from typing import List as L"}) as pkg: loader = GriffeLoader(search_paths=[pkg.tmpdir]) - alias: Alias = loader.load("pkg.L") + alias: Alias = loader.load("pkg.L") # type: ignore[assignment] assert alias.is_alias assert not alias.resolved