Skip to content

Commit ecef427

Browse files
authored
stubtest: enable verification of __match_args__ attributes (#12465)
#12415 (included in release 0.942) unblocked typeshed from adding missing `__match_args__` attributes (see python/typeshed#7556). This means stubtest is now unblocked from checking the correctness of `__match_args__` attributes in the stub!
1 parent 1480344 commit ecef427

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mypy/stubtest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,8 +1044,7 @@ def verify_typealias(
10441044
"__args__",
10451045
"__orig_bases__",
10461046
"__final__",
1047-
# Consider removing these:
1048-
"__match_args__",
1047+
# Consider removing __slots__?
10491048
"__slots__",
10501049
}
10511050
)

0 commit comments

Comments
 (0)