From b84a35f22f89b598a41577fd89cc2ffa0f4b11c9 Mon Sep 17 00:00:00 2001 From: Douglas Creager Date: Fri, 5 Dec 2025 16:03:28 -0500 Subject: [PATCH] oh hey that's a real bug --- .../resources/mdtest/generics/pep695/functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ty_python_semantic/resources/mdtest/generics/pep695/functions.md b/crates/ty_python_semantic/resources/mdtest/generics/pep695/functions.md index 1b8d82688e..aba0aef683 100644 --- a/crates/ty_python_semantic/resources/mdtest/generics/pep695/functions.md +++ b/crates/ty_python_semantic/resources/mdtest/generics/pep695/functions.md @@ -622,7 +622,7 @@ class ClassWithNewAndInit: def __new__(cls, *args, **kwargs) -> Self: raise NotImplementedError - def __init__(self, x: int) -> None: ... + def __init__(self) -> None: ... # revealed: ClassWithNewAndInit reveal_type(accepts_callable(ClassWithNewAndInit)())