Skip to content

Commit 41a87b8

Browse files
committed
minor comment update
1 parent 617656d commit 41a87b8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/test_typing_extensions.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7372,8 +7372,6 @@ def test_callable_with_concatenate(self):
73727372
self.assertEqual(concat_usage, callable_concat[[str]])
73737373

73747374
def test_substitution(self):
7375-
# To pass these tests alias.__args__ in TypeAliasType.__getitem__ needs adjustment
7376-
# Unpack and Concatenate are unpacked in versions before
73777375
T = TypeVar('T')
73787376
Ts = TypeVarTuple("Ts")
73797377

@@ -7418,7 +7416,7 @@ def test_wrong_amount_of_parameters(self):
74187416
self.assertEqual(alias.__parameters__, expected_params)
74197417

74207418
# The condition should align with the version of GeneriAlias usage in __getitem__
7421-
@skipIf(TYPING_3_10_0, "Most cases are allowed in 3.11+ or with GenericAlias")
7419+
@skipIf(TYPING_3_10_0, "Most arguments are allowed in 3.11+ or with GenericAlias")
74227420
def test_invalid_cases_before_3_11(self):
74237421
T = TypeVar('T')
74247422
ListOrSetT = TypeAliasType("ListOrSetT", Union[List[T], Set[T]], type_params=(T,))

0 commit comments

Comments
 (0)