def setUp(self) -> None: self.fx = TypeFixture()
def setUp(self) -> None: self.x = UnboundType('X') # Helpers self.y = UnboundType('Y') self.fx = TypeFixture() self.function = self.fx.function
def setUp(self) -> None: self.fx = TypeFixture(INVARIANT) self.fx_co = TypeFixture(COVARIANT) self.fx_contra = TypeFixture(CONTRAVARIANT)
def tuple(self, *args: Type) -> TupleType: return TupleType(list(args), TypeFixture().std_tuple)
def __init__(self) -> None: super().__init__() self.x = UnboundType('X') # Helpers self.y = UnboundType('Y') self.fx = TypeFixture() self.function = self.fx.function
def __init__(self) -> None: super().__init__() self.fx = TypeFixture()