def test_list_constraints(self):
        drv = self.asm.add('driver', My2SDriver())
        drv.add_constraint('-44.1 < comp1.a < 13.0')
        drv.add_constraint('77.0 < comp1.c')
        self.asm.run()

        cons = drv.list_constraints()
        self.assertTrue(cons in '-44.1<comp1.a<13.0')
        self.assertTrue('77.0<comp1.c' in cons)
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/test/test_hasconstraints.py/Has2SidedConstraintsTestCase.test_list_constraints/swapped operands of `in`