def test_regression_3920():
 loc = EarthLocation.from_geodetic((0 * u.deg), (0 * u.deg), 0)
 time = Time(u'2010-1-1')
 aa = AltAz(location=loc, obstime=time)
 sc = SkyCoord((10 * u.deg), (3 * u.deg))
 assert (sc.transform_to(aa).shape == tuple())
 sc2 = SkyCoord((10 * u.deg), (3 * u.deg), (1 * u.AU))
 assert (sc2.transform_to(aa).shape == tuple())
 icoo = ICRS(sc.data)
 icoo2 = ICRS(sc2.data)
 assert (icoo.transform_to(aa).shape == tuple())
 assert (icoo2.transform_to(aa).shape == tuple())

def test_regression_3920 ( ) : loc = EarthLocation . from_geodetic ( ( 0 * u . deg ) , ( 0 * u . deg ) , 0 ) time = Time ( u'2010-1-1' ) aa = AltAz ( location = loc , obstime = time ) sc = SkyCoord ( ( 10 * u . deg ) , ( 3 * u . deg ) ) assert ( sc . transform_to ( aa ) . shape == tuple ( ) ) sc2 = SkyCoord ( ( 10 * u . deg ) , ( 3 * u . deg ) , ( 1 * u . AU ) ) assert ( sc2 . transform_to ( aa ) . shape == tuple ( ) ) icoo = ICRS ( sc . data ) icoo2 = ICRS ( sc2 . data ) assert ( icoo . transform_to ( aa ) . shape == tuple ( ) ) assert ( icoo2 . transform_to ( aa ) . shape == tuple ( ) )
issue: URL .