Skip to content

Commit 958a73d

Browse files
harshadkhetpalMasterJH5574
authored andcommitted
fix: use is None instead of == None in test_tir_constructor.py
1 parent c03315b commit 958a73d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/python/tirx-base/test_tir_constructor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def test_expr_constructor():
2929

3030
x = tvm.tirx.Reduce(None, [1], [tvm.tirx.IterVar((0, 1), "x", 2)], None, 0)
3131
assert isinstance(x, tvm.tirx.Reduce)
32-
assert x.combiner == None
32+
assert x.combiner is None
3333
assert x.value_index == 0
3434

3535
x = tvm.tirx.FloatImm("float32", 1.0)

0 commit comments

Comments
 (0)