Skip to content

Commit

Permalink
Remove misplaced code.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkelley committed Sep 2, 2024
1 parent 087b0f0 commit 289408c
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions astroquery/mpc/tests/test_mpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,19 +176,6 @@ def test_get_ephemeris_Moon_phase(patch_post):
assert result['Moon phase'][0] >= 0


def test_get_ephemeris_Uncertainty(patch_post):
# this test requires an object with uncertainties != N/A
result = mpc.core.MPC.get_ephemeris('2024 AA')
assert result['Uncertainty 3sig'].quantity[0] > 0 * u.arcsec


def test_get_ephemeris_Moon_phase_and_Uncertainty(patch_post):
# this test requires an object with uncertainties != N/A
result = mpc.core.MPC.get_ephemeris('2024 AA', location='G37')
assert result['Moon phase'][0] >= 0
assert result['Uncertainty 3sig'].quantity[0] > 0 * u.arcsec


def test_get_ephemeris_by_name_empty(patch_post):
with pytest.raises(EmptyResponseError):
mpc.core.MPC.get_ephemeris('340P', location='G37')
Expand Down

0 comments on commit 289408c

Please sign in to comment.