def test_against_pytpm_doc_example():
 fk5_in = SkyCoord(u'12h22m54.899s', u'15d49m20.57s', frame=FK5(equinox=u'J2000'))
 pytpm_out = BarycentricTrueEcliptic(lon=(178.78256462 * u.deg), lat=(16.7597002513 * u.deg), equinox=u'J2000')
 astropy_out = fk5_in.transform_to(pytpm_out)
 assert (pytpm_out.separation(astropy_out) < (1 * u.arcmin))

def test_against_pytpm_doc_example ( ) : fk5_in = SkyCoord ( u'12h22m54.899s' , u'15d49m20.57s' , frame = FK5 ( equinox = u'J2000' ) ) pytpm_out = BarycentricTrueEcliptic ( lon = ( 178.78256462 * u . deg ) , lat = ( 16.7597002513 * u . deg ) , equinox = u'J2000' ) astropy_out = fk5_in . transform_to ( pytpm_out ) assert ( pytpm_out . separation ( astropy_out ) < ( 1 * u . arcmin ) )
check that astropys ecliptic systems give answers consistent with pytpm currently this is only testing against the example given in the pytpm docs .