Skip to content

Commit

Permalink
add try/catch in import tests
Browse files Browse the repository at this point in the history
  • Loading branch information
StRigaud committed Nov 21, 2024
1 parent daea8e4 commit b8979d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_import.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
def test_import():
import pyclesperanto as cle
try:
import pyclesperanto as cle
except ImportError as e:
print(f"ImportError: {e}")

0 comments on commit b8979d9

Please sign in to comment.