From abf1548aa39e90db440914ac87ec803a60f9279c Mon Sep 17 00:00:00 2001 From: Taher Chegini Date: Sun, 6 Oct 2024 10:05:42 -0400 Subject: [PATCH] MNT: Modify the exception tests to use the latest API. [skip ci] --- tests/test_exceptions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_exceptions.py b/tests/test_exceptions.py index fabb572..b58ff1a 100644 --- a/tests/test_exceptions.py +++ b/tests/test_exceptions.py @@ -9,14 +9,14 @@ from shapely import Polygon import pydaymet as daymet -from pydaymet import ( +from pydaymet.cli import cli +from pydaymet.exceptions import ( InputRangeError, InputTypeError, InputValueError, MissingCRSError, MissingItemError, ) -from pydaymet.cli import cli GEOM = Polygon( [[-69.77, 45.07], [-69.31, 45.07], [-69.31, 45.45], [-69.77, 45.45], [-69.77, 45.07]]