def test_repr_str(self):
        #__repr__should return a string which could be used to contruct the unit instance, __str__ should return a string with just the unit name for str
        u = units.PhysicalQuantity('1 d')
        self.assertEqual(repr(u.unit),
                         _get_powers(time=1) % "PhysicalUnit({'d': 1},86400.0,%s,0.0)")
        self.assertEqual(str(u.unit),"<PhysicalUnit d>")
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.units/openmdao/units/test/test_units.py/test__PhysicalUnit.test_repr_str/swapped operands of `%`