ruff/crates/ruff_linter/resources/test/fixtures/pyflakes/F821_4.py
2023-09-20 08:38:27 +02:00

24 lines
320 B
Python

"""Test: import alias tracking."""
from typing import List
_ = List["Model"]
from typing import List as IList
_ = IList["Model"]
from collections.abc import ItemsView
_ = ItemsView["Model"]
import collections.abc
_ = collections.abc.ItemsView["Model"]
from collections import abc
_ = abc.ItemsView["Model"]