Skip to content

Commit

Permalink
fix test_imports.py to not import zoo_model if Mac OS is used
Browse files Browse the repository at this point in the history
  • Loading branch information
2320sharon committed May 30, 2024
1 parent 7f0e302 commit afa7a23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ def test_import_transects():

def test_import_zoo_model():
try:
from coastseg import zoo_model
if platform.system() != 'Darwin':
from coastseg import zoo_model
except ImportError:
assert False, "Failed to import zoo_model"

Expand Down

0 comments on commit afa7a23

Please sign in to comment.