From 3fbd170f14f38dfeded111b7f42be109ca887233 Mon Sep 17 00:00:00 2001 From: Garrett 'Karto' Keating Date: Sun, 24 Sep 2023 12:33:37 -0400 Subject: [PATCH] Fixing mindeps version of novas-based test --- pyuvdata/tests/test_utils.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyuvdata/tests/test_utils.py b/pyuvdata/tests/test_utils.py index 2ff4b40d2..8696bbe2d 100644 --- a/pyuvdata/tests/test_utils.py +++ b/pyuvdata/tests/test_utils.py @@ -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),