From: Alex Waygood Date: Wed, 12 Aug 2026 12:52:08 +0100 Subject: Remove obsolete Literal deduplication assertion Origin: upstream, https://github.com/python/typing_extensions/pull/785 Bug: https://github.com/python/typing_extensions/issues/784 Bug-Debian: https://bugs.debian.org/1145112 Last-Update: 2026-08-23 --- src/test_typing_extensions.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/test_typing_extensions.py b/src/test_typing_extensions.py index 996d466..938f2ac 100644 --- a/src/test_typing_extensions.py +++ b/src/test_typing_extensions.py @@ -1337,8 +1337,6 @@ class LiteralTests(BaseTestCase): self.assertEqual(Literal[1, 2, 3].__args__, (1, 2, 3)) self.assertEqual(Literal[1, 2, 3, 3].__args__, (1, 2, 3)) self.assertEqual(Literal[1, Literal[2], Literal[3, 4]].__args__, (1, 2, 3, 4)) - # Mutable arguments will not be deduplicated - self.assertEqual(Literal[[], []].__args__, ([], [])) def test_union_of_literals(self): self.assertEqual(Union[Literal[1], Literal[2]].__args__,