Skip to content

Commit

Permalink
Fixing mindeps version of novas-based test
Browse files Browse the repository at this point in the history
  • Loading branch information
kartographer committed Sep 24, 2023
1 parent 8e04bb2 commit 3fbd170
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyuvdata/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2151,6 +2151,10 @@ def test_lst_for_time_float_vs_array(astrometry_args, astrolib):
Test for equality when passing a single float vs an ndarray (of length 1) when
calling get_lst_for_time.
"""
if astrolib == "novas":
pytest.importorskip("novas")
pytest.importorskip("novas_de405")

lst_array = uvutils.get_lst_for_time(
np.array(astrometry_args["time_array"][0]),
astrometry_args["telescope_loc"][0] * (180.0 / np.pi),
Expand Down

0 comments on commit 3fbd170

Please sign in to comment.