@pytest.mark.parametrize(u'testframe', totest_frames)
def test_cirs_altaz_nodist(testframe):
 coo0 = CIRS(UnitSphericalRepresentation((10 * u.deg), (20 * u.deg)), obstime=testframe.obstime)
 coo1 = coo0.transform_to(testframe).transform_to(coo0)
 assert_allclose(coo0.cartesian.xyz, coo1.cartesian.xyz)

@ pytest . mark . parametrize ( u'testframe' , totest_frames ) def test_cirs_altaz_nodist ( testframe ) : coo0 = CIRS ( UnitSphericalRepresentation ( ( 10 * u . deg ) , ( 20 * u . deg ) ) , obstime = testframe . obstime ) coo1 = coo0 . transform_to ( testframe ) . transform_to ( coo0 ) assert_allclose ( coo0 . cartesian . xyz , coo1 . cartesian . xyz )
check that a unitsphericalrepresentation coordinate round-trips for the cirs<->altaz transformation .