Skip to content

Commit 6e18c1c

Browse files
committed
Remove obsolete Literal deduplication assertion
1 parent 83400e9 commit 6e18c1c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/test_typing_extensions.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,8 +1337,6 @@ def test_args(self):
13371337
self.assertEqual(Literal[1, 2, 3].__args__, (1, 2, 3))
13381338
self.assertEqual(Literal[1, 2, 3, 3].__args__, (1, 2, 3))
13391339
self.assertEqual(Literal[1, Literal[2], Literal[3, 4]].__args__, (1, 2, 3, 4))
1340-
# Mutable arguments will not be deduplicated
1341-
self.assertEqual(Literal[[], []].__args__, ([], []))
13421340

13431341
def test_union_of_literals(self):
13441342
self.assertEqual(Union[Literal[1], Literal[2]].__args__,

0 commit comments

Comments
 (0)