def test_wrap_at_without_new():
 l1 = Longitude(([1] * u.deg))
 l2 = Longitude(([2] * u.deg))
 l = np.concatenate([l1, l2])
 assert (l._wrap_angle is not None)

def test_wrap_at_without_new ( ) : l1 = Longitude ( ( [ 1 ] * u . deg ) ) l2 = Longitude ( ( [ 2 ] * u . deg ) ) l = np . concatenate ( [ l1 , l2 ] ) assert ( l . _wrap_angle is not None )
regression test for subtle bugs from situations where an angle is created via numpy channels that dont do the standard __new__ but instead depend on array_finalize to set state .