Skip to content

Commit 893d93d

Browse files
committed
Skip when astroquery is not available.
1 parent ff7584e commit 893d93d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sbpy/data/tests/test_ephem.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,10 @@ def test_radec_format(self, patch_request):
273273
assert row[3] == "-85:45:59.3"
274274

275275
def test_start_stop_order(self, patch_request):
276+
"""Test start > stop."""
277+
278+
pytest.importorskip("astroquery")
279+
276280
with pytest.raises(ValueError):
277281
cli = EphemerisCLI(
278282
[

0 commit comments

Comments
 (0)