Skip to content

Commit 71b306e

Browse files
Update Lib/test/test_types.py
Co-authored-by: Ken Jin <[email protected]>
1 parent 4d1a60b commit 71b306e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ def test_or_type_operator_with_TypeVar(self):
669669
def test_union_parameter_chaining(self):
670670
T = typing.TypeVar("T")
671671

672-
assert (float | list[T])[int] == float | list[int]
672+
self.assertEqual((float | list[T])[int], float | list[int])
673673

674674
def test_or_type_operator_with_forward(self):
675675
T = typing.TypeVar('T')

0 commit comments

Comments
 (0)