Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork940
Commit1f290f1
committed
Use typing_extensions only if needed
This makes the typing-extensions test dependency < 3.11 only, andconditionally imports assert_type from typing or typing_extensionsdepending on the Python version.1 parent18608e4 commit1f290f1
2 files changed
+7
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + |
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
| 12 | + | |
12 | 13 |
| |
13 | 14 |
| |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
14 | 20 |
| |
15 | 21 |
| |
16 | 22 |
| |
|
0 commit comments
Comments
(0)