diff --git a/mypy/stubtest.py b/mypy/stubtest.py index 04d17affbbd8..ff5a04b740eb 100644 --- a/mypy/stubtest.py +++ b/mypy/stubtest.py @@ -1653,6 +1653,7 @@ def verify_typealias( "__loader__", "__spec__", "__annotations__", + "__conditional_annotations__", # 3.14+ "__annotate__", "__path__", # mypy adds __path__ to packages, but C packages don't have it "__getattr__", # resulting behaviour might be typed explicitly