def test_Constraint_setMath2(self):
    math = libsbml.ASTNode(libsbml.AST_TIMES)
    i = self.C.setMath(math)
    self.assert_((i == libsbml.LIBSBML_INVALID_OBJECT))
    self.assertEqual(False, self.C.isSetMath())
    math = None
    pass
def test_Constraint_setMath2(self):
    math = libsbml.ASTNode(libsbml.AST_TIMES)
    i = self.C.setMath(math)
    self.assert_((i == libsbml.LIBSBML_INVALID_OBJECT))
    self.assertEqual(False, self.C.isSetMath())
    math = None
    pass