提交 16c5f629 编写于 作者: Y Yu Yang

Complete unittest for OP

上级 f9f910a3
......@@ -53,6 +53,7 @@ class TestOpDesc(unittest.TestCase):
op.set_block_attr("block_attr", prog.block(0))
self.assertEqual(0, op.get_block_attr("block_attr"))
self.assertEqual(core.AttrType.INT, op.attr_type("int_attr"))
class TestProgramDesc(unittest.TestCase):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册