From 479dffd98e187ba9f2612d9df0f7ef19419c147e Mon Sep 17 00:00:00 2001 From: Michael Carlstrom Date: Fri, 26 Jul 2024 10:43:27 -0400 Subject: [PATCH] is None --- tests/test_pytypes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_pytypes.py b/tests/test_pytypes.py index 59b574ba35..cd19bb4bec 100644 --- a/tests/test_pytypes.py +++ b/tests/test_pytypes.py @@ -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)