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__",