Skip to content

Commit

Permalink
Restriction does not apply anymore with
Browse files Browse the repository at this point in the history
  • Loading branch information
Daraan committed Nov 27, 2024
1 parent 9176bb5 commit 5491d3a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/test_typing_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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: ([<class 'int'>, ~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:
Expand Down

0 comments on commit 5491d3a

Please sign in to comment.