Skip to content

Commit

Permalink
change to ExhaustiveTypeGuardException error type
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaS11 committed Oct 29, 2024
1 parent 130160b commit 830f471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion icepyx/core/spatial.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,6 @@ def fmt_for_EGI(self) -> str:
egi_extent = egi_extent.replace(" ", "") # remove spaces for API call

else:
raise RuntimeError("Programmer error!")
raise icepyx.core.exceptions.ExhaustiveTypeGuardException

Check warning on line 767 in icepyx/core/spatial.py

View check run for this annotation

Codecov / codecov/patch

icepyx/core/spatial.py#L767

Added line #L767 was not covered by tests

return egi_extent

0 comments on commit 830f471

Please sign in to comment.