def test_conversion_tuple_to(self):
        #test_conversion_tuple_to shoudl error when units have different power lists

        w = units.PhysicalQuantity('1cm')
        x = units.PhysicalQuantity('1m')
        y = units.PhysicalQuantity('1degF')
        z1 = units.PhysicalQuantity('1degC')
        z2 = units.PhysicalQuantity('1degK')
        
        #check for non offset units
        self.assertEqual(w.unit.conversion_tuple_to(x.unit),(100.0/1,0))
        
        #check for offset units
        result = y.unit.conversion_tuple_to(z1.unit)
        self.assertAlmostEqual(result[0],0.556,3)
        self.assertAlmostEqual(result[1],-32.0,3)
        
        #check for incompatible units
        try:
            x.unit.conversion_tuple_to(z1.unit)
        except TypeError,err: 
            self.assertEqual(str(err),"Incompatible units")
        else:
            self.fail("Expecting TypeError")
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.units/openmdao/units/test/test_units.py/test__PhysicalUnit.test_conversion_tuple_to/swapped operands of `/`