Skip to content

Commit c03315b

Browse files
harshadkhetpalMasterJH5574
authored andcommitted
fix: use is None instead of == None in test_ir_type.py (PEP 8 E711)
1 parent 3d1e402 commit c03315b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/python/ir/test_ir_type.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def test_func_type():
3939
tf = tvm.ir.FuncType(arg_types, ret_type)
4040
assert tf.arg_types == arg_types
4141
assert tf.ret_type == ret_type
42-
assert tf.span == None
42+
assert tf.span is None
4343
# TODO make sure we can set span
4444
str(tf)
4545
check_json_roundtrip(tf)

0 commit comments

Comments
 (0)