Add strictness for comparing statements
@@ -169,7 +169,7 @@ class DefaultTestCase(tc.TestCase):
if len(self._statements) != len(other._statements):
return False
memo: dict[vr.VariableReference, vr.VariableReference] = {}
- for left, right in zip(self._statements, other._statements):
+ for left, right in zip(self._statements, other._statements, strict=True):
if ((lret := left.ret_val) is None) ^ ((rret := right.ret_val) is None):
# One is None but the other isn't, i.e., one creates a variable
# but the other doesn't -> they are different.
