Complete unittest for OP

update-doc-pybind
Yu Yang 8 years ago
parent f9f910a33b
commit 16c5f629bd

@ -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):

Loading…
Cancel
Save