forked from beartype/beartype
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit is the first in a commit chain supporting PEP 544-compliant inheritance trees subclassing non-trivial combinations of the `typing.Protocol` + `abc.ABC` superclasses, en-route to resolving beartype#117 kindly submitted by too-entertaining pun master @twoertwein (Torsten Wörtwein). Specifically, this commit generalizes our test suite to test the `typing.Literal` and `typing.Annotated` type hint factories against the official `typing` module, the third-party `typing_extensions` module, and the `beartype.typing` compatibility layer. Although doing so admittedly has no relation whatsoever to this issue, every bug resolution begins with a mild detour into the annals of inanity. (*Undocumented acumen, man!*)
- Loading branch information
Showing
11 changed files
with
968 additions
and
807 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.