Skip to content

Commit 2ca07bb

Browse files
committed
add regression test for 4926
1 parent 0e2eeb0 commit 2ca07bb

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

‎astropy/coordinates/tests/test_regression.py‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313

1414
from ... import units as u
1515
from .. import (AltAz, EarthLocation, SkyCoord, get_sun, ICRS, CIRS, ITRS,
16-
GeocentricTrueEcliptic, Longitude, Latitude, GCRS)
16+
GeocentricTrueEcliptic, Longitude, Latitude, GCRS,get_moon)
17+
from ..sites import get_builtin_sites
1718
from ...time import Time
1819
from ...utils import iers
1920

@@ -225,3 +226,10 @@ def test_regression_4996():
225226

226227
# this is intentionally not allclose - they should be *exactly* the same
227228
assert np.all(suncoo.ra.ravel() == suncoo2.ra.ravel())
229+
230+
231+
def test_regression_4926():
232+
times = Time('2010-01-1') + np.arange(20)*u.day
233+
green = get_builtin_sites()['greenwich']
234+
235+
get_moon(times, green)

0 commit comments

Comments
 (0)