Skip to content

Commit 4ff6cb5

Browse files
committed
Do not test for airmass as its votable unit parsing has changed fro astropy 4.3
1 parent 8a1e5bb commit 4ff6cb5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

astroquery/imcce/tests/test_miriade.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ def test_observation_coordinates(patch_request):
9393
eph = Miriade.get_ephemerides('3552', coordtype=5)
9494
cols = ('target', 'epoch', 'siderealtime', 'RAJ2000', 'DECJ2000',
9595
'hourangle', 'DEC', 'AZ', 'EL', 'refraction',
96-
'airmass', 'V', 'delta', 'heldist', 'alpha', 'elong', 'posunc',
96+
'V', 'delta', 'heldist', 'alpha', 'elong', 'posunc',
9797
'RAcosD_rate', 'DEC_rate', 'delta_rate')
9898
units = (None, u.d, u.h, u.deg, u.deg, u.deg, u.deg, u.deg, u.deg,
99-
u.arcsec, '-', u.mag, u.au, u.au, u.deg, u.deg, u.arcsec,
99+
u.arcsec, u.mag, u.au, u.au, u.deg, u.deg, u.arcsec,
100100
u.arcsec / u.minute, u.arcsec / u.minute, u.km / u.s)
101101
for i in range(len(cols)):
102102
assert cols[i] in eph.columns
@@ -106,9 +106,9 @@ def test_observation_coordinates(patch_request):
106106
def test_aoobservation_coordinates(patch_request):
107107
eph = Miriade.get_ephemerides('3552', coordtype=6)
108108
cols = ('target', 'epoch', 'siderealtime', 'RAJ2000', 'DECJ2000',
109-
'refraction', 'airmass', 'V', 'delta', 'heldist', 'alpha',
109+
'refraction', 'V', 'delta', 'heldist', 'alpha',
110110
'elong', 'posunc', 'RAcosD_rate', 'DEC_rate', 'delta_rate')
111-
units = (None, u.d, u.h, u.deg, u.deg, u.arcsec, '-', u.mag,
111+
units = (None, u.d, u.h, u.deg, u.deg, u.arcsec, u.mag,
112112
u.au, u.au, u.deg, u.deg, u.arcsec, u.arcsec / u.minute,
113113
u.arcsec / u.minute, u.km / u.s)
114114
for i in range(len(cols)):

0 commit comments

Comments
 (0)