From 5491d3ad15677ced524a20b80efd3efabbc6266c Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 27 Nov 2024 11:47:40 +0100 Subject: [PATCH] Restriction does not apply anymore with --- src/test_typing_extensions.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/test_typing_extensions.py b/src/test_typing_extensions.py index 265d915b..d1fd6a7a 100644 --- a/src/test_typing_extensions.py +++ b/src/test_typing_extensions.py @@ -7567,11 +7567,9 @@ def test_callable_with_concatenate(self): self.assertEqual(callable_concat.__parameters__, (P2,)) concat_usage = callable_concat[str] with self.subTest("get_args of Concatenate in TypeAliasType"): - if not TYPING_3_9_0: + if not TYPING_3_10_0: # args are: ([, ~P2],) self.skipTest("Nested ParamSpec is not substituted") - if sys.version_info < (3, 10, 2): - self.skipTest("GenericAlias keeps Concatenate in __args__ prior to 3.10.2") self.assertEqual(get_args(concat_usage), ((int, str),)) with self.subTest("Equality of parameter_expression without []"): if not TYPING_3_10_0: