Skip to content

Commit

Permalink
fix unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
InvincibleRMC committed Jul 26, 2024
1 parent 1ad0e6e commit 07ccee5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_pytypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ def test_param_spec():
param_spec = m.ParamSpec.__type_params__[0]

assert param_spec.__name__ == "P"
assert param_spec.__bound__ == None
assert param_spec.__bound__ is None


def test_type_var_tuple():
Expand All @@ -1072,7 +1072,7 @@ def test_type_var_tuple():

assert type_var_tuple.__name__ == "T"
with pytest.raises(AttributeError):
param_spec.__bound__
print(type_var_tuple.__bound__)


def test_type_params():
Expand Down

0 comments on commit 07ccee5

Please sign in to comment.