mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-29 08:32:02 +00:00
is None
This commit is contained in:
parent
e98fb5a10e
commit
479dffd98e
@ -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
|
||||
@ -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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user