From 88c0ea8dd76007214e1fb85836fb2533badfc0f6 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sat, 26 Mar 2022 19:43:23 +0000 Subject: [PATCH] stubtest: enable verification of `__match_args__` attributes #12415 (included in release 0.942) unblocked typeshed from adding missing `__match_args__` attributes (see https://github.com/python/typeshed/pull/7556). This means stubtest is now unblocked from checking the correctness of `__match_args__` attributes in the stub! --- mypy/stubtest.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mypy/stubtest.py b/mypy/stubtest.py index ae9c71801dfb..07727615dfcf 100644 --- a/mypy/stubtest.py +++ b/mypy/stubtest.py @@ -1044,8 +1044,7 @@ def verify_typealias( "__args__", "__orig_bases__", "__final__", - # Consider removing these: - "__match_args__", + # Consider removing __slots__? "__slots__", } )