void () { doTest("Circle", """ from typing import Self class Shape: @classmethod def from_config(cls, config: dict[str, float]) -> Self: return cls(config["scale"]) class Circle(Shape): pass expr = Circle.from_config({}) """); }