Skip to content

Commit f36215f

Browse files
committed
Fix test suite
1 parent 3c9ccf8 commit f36215f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/modvx/mpas_reader.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,9 @@ def _ensure_mpasdiag_available() -> None:
6666

6767
# If the availability has already been determined to be False, raise the same ImportError again
6868
try:
69-
from mpasdiag.processing.remapping import remap_mpas_to_latlon_with_masking # type: ignore[import-untyped]
70-
from mpasdiag.processing.utils_geog import MPASGeographicUtils # type: ignore[import-untyped]
69+
# Import modules to verify availability; the imports themselves are used for checking availability
70+
import mpasdiag.processing.remapping # type: ignore[import-untyped] # noqa: F401
71+
import mpasdiag.processing.utils_geog # type: ignore[import-untyped] # noqa: F401
7172
_HAS_MPASDIAG = True
7273
except ImportError as exc:
7374
_HAS_MPASDIAG = False

0 commit comments

Comments
 (0)