mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 13:25:17 +00:00
24 lines
320 B
Python
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"]
|