Commit 021acee
committed
Add typing-extensions to test deps. for Python <3.9
Add `typing-extensions` to `requirements-tests.txt` since
`tests/test_main.py` imports it; but at the same time, since `typing` in
the Python standard library provides both `Annotated` and
`get_type_hints`, adapt the tests to use the standard library instead on
Python 3.9 and later.1 parent a8a8b63 commit 021acee
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
4 | 8 | | |
5 | 9 | | |
6 | 10 | | |
| |||
0 commit comments