Skip to content

Commit 5505f7f

Browse files
committed
rounding resolve coords to nearest 10**-10
1 parent 011c3dc commit 5505f7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astroquery/mast/tests/test_mast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ def test_mast_service_request(patch_post):
302302
def test_resolve_object(patch_post):
303303
m103_loc = mast.Mast.resolve_object("M103")
304304
print(m103_loc)
305-
assert m103_loc.separation(SkyCoord("23.34086 60.658", unit='deg')).value == 0
305+
assert round(m103_loc.separation(SkyCoord("23.34086 60.658", unit='deg')).value, 10) == 0
306306

307307

308308
def test_login_logout(patch_post):

0 commit comments

Comments
 (0)