void () { doTest("Pair[str, int]", """ from typing import Generic, TypeVar T1 = TypeVar('T1') T2 = TypeVar('T2') class Pair(Generic[T1, T2]): def __init__(self, pair: 'Pair[T2, T1]'): pass int_then_str: Pair[int, str] = ...() expr = Pair(int_then_str)"""); }