Skip to content

Commit 80caf68

Browse files
committed
chore: mutable -> unhashable
1 parent 6ec1018 commit 80caf68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_typing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2801,7 +2801,7 @@ def test_args(self):
28012801
self.assertEqual(Literal[1, 2, 3].__args__, (1, 2, 3))
28022802
self.assertEqual(Literal[1, 2, 3, 3].__args__, (1, 2, 3))
28032803
self.assertEqual(Literal[1, Literal[2], Literal[3, 4]].__args__, (1, 2, 3, 4))
2804-
# Mutable arguments will be deduplicated
2804+
# Unhashable arguments will be deduplicated too
28052805
self.assertEqual(Literal[[], []].__args__, ([],))
28062806
self.assertEqual(Literal[{"a": 1}, {"a": 1}].__args__, ({"a": 1},))
28072807
self.assertEqual(

0 commit comments

Comments
 (0)