commit | 0f9fb788f94f2e77e3d1c01e27b8bcf02382e427 | [log] [tgz] |
---|---|---|
author | Jelle Zijlstra <jelle.zijlstra@gmail.com> | Fri Jun 02 03:04:15 2023 -0700 |
committer | GitHub <noreply@github.com> | Fri Jun 02 12:04:15 2023 +0200 |
tree | 528ba420ea84aff18083007ddb37e13f2ad89705 | |
parent | aaaa807797b9a4d8a60de4bd7ea594d77499744c [diff] |
Document how to run tests (#211)
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
.