void () { doTest("int", """ from typing import Annotated A = Annotated[int, 'Some constraint'] expr: A"""); doTest("int", "from typing_extensions import Annotated\n" + "expr: Annotated[int, 'Some constraint'] = '5'"); doMultiFileStubAwareTest("int", "from annotated import A\n" + "expr: A = 'str'"); }