Skip to content

Commit

Permalink
stubtest: enable verification of __match_args__ attributes
Browse files Browse the repository at this point in the history
python#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!
  • Loading branch information
AlexWaygood committed Mar 26, 2022
1 parent c755928 commit 88c0ea8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mypy/stubtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1044,8 +1044,7 @@ def verify_typealias(
"__args__",
"__orig_bases__",
"__final__",
# Consider removing these:
"__match_args__",
# Consider removing __slots__?
"__slots__",
}
)
Expand Down

0 comments on commit 88c0ea8

Please sign in to comment.