commit | ed09c9f4b8222a79810ec89c02ba50e72ec59604 | [log] [tgz] |
---|---|---|
author | Alex Waygood <Alex.Waygood@Gmail.com> | Sun Jun 04 14:12:47 2023 +0100 |
committer | GitHub <noreply@github.com> | Sun Jun 04 06:12:47 2023 -0700 |
tree | b7a1ebc8d308b0704e0365a5875995545ffcc596 | |
parent | 7c4bc2e883f1ae3b35d7575317de935ec813b92d [diff] |
Remove some unnecessary `exec()`s in the test suite (#219)
The typing_extensions
module serves two related purposes:
typing.TypeGuard
is new in Python 3.10, but typing_extensions
allows users on previous Python versions to use it too.typing
module.typing_extensions
uses Semantic Versioning. The major version will be incremented only for backwards-incompatible changes. Therefore, it's safe to depend on typing_extensions
like this: typing_extensions >=x.y, <(x+1)
, where x.y
is the first version that includes all features you need.
typing_extensions
supports Python versions 3.7 and higher.
See the documentation for a complete listing of module contents.
To run tests, navigate into the src/
directory and run test_typing_extensions.py
.