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