Skip to content

Commit b7fb74d

Browse files
pllimnstarman
authored andcommitted
TST: Temporarily xfail until astropy#11277 is solved
1 parent 1d14432 commit b7fb74d

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

‎astropy/coordinates/tests/test_skyoffset_transformations.py‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,15 @@ def test_skyoffset(inradec, expectedlatlon, tolsep, originradec=(45, 45)*u.deg):
3030

3131
assert skycoord_inaf.separation(expected) < tolsep
3232
# Check we can also transform back (regression test for gh-11254).
33-
roundtrip = skycoord_inaf.transform_to(ICRS())
34-
assert roundtrip.separation(skycoord) < 1*u.uas
33+
try:
34+
roundtrip = skycoord_inaf.transform_to(ICRS())
35+
except AttributeError as err:
36+
if 'to_geodetic' in str(err):
37+
pytest.xfail('See Issue 11277')
38+
else:
39+
raise
40+
else:
41+
assert roundtrip.separation(skycoord) < 1*u.uas
3542

3643

3744
def test_skyoffset_functional_ra():

0 commit comments

Comments
 (0)