Skip to content

Commit afbb038

Browse files
committed
Update test_types.py
1 parent 27980f1 commit afbb038

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Lib/test/test_types.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -670,8 +670,9 @@ def test_union_parameter_chaining(self):
670670
T = typing.TypeVar("T")
671671

672672
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]])
673+
self.assertEqual(list[int | list[T]].__parameters__, (T,))
674+
self.assertEqual(list[int | list[T]][str], list[int | list[str]])
675+
675676
def test_or_type_operator_with_forward(self):
676677
T = typing.TypeVar('T')
677678
ForwardAfter = T | 'Forward'

0 commit comments

Comments
 (0)