Skip to content

Commit

Permalink
is None
Browse files Browse the repository at this point in the history
  • Loading branch information
InvincibleRMC committed Jul 26, 2024
1 parent e98fb5a commit 479dffd
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 @@ -1054,7 +1054,7 @@ def test_typevar_object():
assert len(m.TypeVarObject.__type_params__) == 1
type_var = m.TypeVarObject.__type_params__[0]
assert type_var.__name__ == "T"
assert type_var.__bound__ == None
assert type_var.__bound__ is None
assert type_var.__constraints__ == ()

assert len(m.TypeVarObjectBound.__type_params__) == 1
Expand All @@ -1066,7 +1066,7 @@ def test_typevar_object():
assert len(m.TypeVarObjectConstraints.__type_params__) == 1
type_var = m.TypeVarObjectConstraints.__type_params__[0]
assert type_var.__name__ == "T"
assert type_var.__bound__ == None
assert type_var.__bound__ is None
assert type_var.__constraints__ == ("hi", 3)


Expand Down

0 comments on commit 479dffd

Please sign in to comment.