From 74647a8f96e1ea73c2a607937c412f4e99dee671 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Wed, 15 Jan 2025 03:03:52 +0100 Subject: [PATCH] Ignore PEP 695 implementation details in stubtest --- mypy/stubtest.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mypy/stubtest.py b/mypy/stubtest.py index 5d19c4777916..b3384e4aebff 100644 --- a/mypy/stubtest.py +++ b/mypy/stubtest.py @@ -1486,6 +1486,9 @@ def verify_typealias( "__instancecheck__", "__subclasshook__", "__subclasscheck__", + # PEP 695 implementation details + "__annotate__", + "__classdictcell__", # python2 only magic methods: "__cmp__", "__nonzero__",