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 27980f1 commit afbb038Copy full SHA for afbb038
Lib/test/test_types.py
@@ -670,8 +670,9 @@ def test_union_parameter_chaining(self):
670
T = typing.TypeVar("T")
671
672
self.assertEqual((float | list[T])[int], float | list[int])
673
-self.assertEqual(list[int | list[T]].__parameters__, (T,))
674
-self.assertEqual(list[int | list[T]][str], list[int | list[str]])
+ self.assertEqual(list[int | list[T]].__parameters__, (T,))
+ self.assertEqual(list[int | list[T]][str], list[int | list[str]])
675
+
676
def test_or_type_operator_with_forward(self):
677
T = typing.TypeVar('T')
678
ForwardAfter = T | 'Forward'
0 commit comments