Skip to content

Commit

Permalink
ci: Ignore Mypy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Aug 17, 2024
1 parent 51c26ca commit b72eae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b72eae8

Please sign in to comment.