From 9aa54dcd584e7ebb9c7a599ee1749a8a4440dc07 Mon Sep 17 00:00:00 2001 From: Trey Stafford Date: Thu, 31 Oct 2024 16:10:04 -0600 Subject: [PATCH] import icepyx as ipx in test_spatial Co-authored-by: Jessica Scheick --- icepyx/tests/unit/test_spatial.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/icepyx/tests/unit/test_spatial.py b/icepyx/tests/unit/test_spatial.py index f7947b0d..0aaeec49 100644 --- a/icepyx/tests/unit/test_spatial.py +++ b/icepyx/tests/unit/test_spatial.py @@ -6,7 +6,7 @@ import pytest from shapely.geometry import Polygon -import icepyx +import icepyx as ipx import icepyx.core.spatial as spat # ######### "Bounding Box" input tests ################################################################################ @@ -567,14 +567,14 @@ def test_bbox_fmt(): def test_fmt_for_cmr_fails_unknown_extent_type(): bbox = spat.Spatial([-55, 68, -48, 71]) bbox._ext_type = "Unknown_user_override" - with pytest.raises(icepyx.core.exceptions.ExhaustiveTypeGuardException): + with pytest.raises(ipx.core.exceptions.ExhaustiveTypeGuardException): bbox.fmt_for_CMR() def test_fmt_for_egi_fails_unknown_extent_type(): bbox = spat.Spatial([-55, 68, -48, 71]) bbox._ext_type = "Unknown_user_override" - with pytest.raises(icepyx.core.exceptions.ExhaustiveTypeGuardException): + with pytest.raises(ipx.core.exceptions.ExhaustiveTypeGuardException): bbox.fmt_for_EGI()