We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72bff0f commit 767f5dcCopy full SHA for 767f5dc
Lib/test/test_patma.py
@@ -3461,8 +3461,8 @@ def test_patma_legacy_union_type(self):
3461
self.assertIsNone(w)
3462
3463
def test_generic_union_type(self):
3464
- from typing import List
3465
- t = list[str] | List[str]
+ from collections.abc import Sequence, Set
+ t = Sequence[str] | Set[str]
3466
w = None
3467
with self.assertRaises(TypeError):
3468
match ["s"]:
0 commit comments