Skip to content

Commit

Permalink
fixup! Add members to ParamSpec stub
Browse files Browse the repository at this point in the history
ParamSpec is new in 3.10
  • Loading branch information
jacobtylerwalls committed Feb 3, 2024
1 parent 6500a17 commit 7c877ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/brain/test_brain.py
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ def test_typing_no_duplicates_2(self):
)
assert len(node.inferred()) == 1

@test_utils.require_version(minver="3.9")
@test_utils.require_version(minver="3.10")
def test_typing_param_spec(self):
node = builder.extract_node(
"""
Expand All @@ -689,7 +689,7 @@ def test_typing_param_spec(self):
)
inferred = next(node.targets[0].infer())
assert next(inferred.igetattr("args")) is not None
assert next(inferred.igetattr("args")) is not None
assert next(inferred.igetattr("kwargs")) is not None

def test_collections_generic_alias_slots(self):
"""Test slots for a class which is a subclass of a generic alias type."""
Expand Down

0 comments on commit 7c877ae

Please sign in to comment.