1 parent c621c0b commit 0245909Copy full SHA for 0245909
1 file changed
tests/unit/io/test_geoh5.py
@@ -1,9 +1,11 @@
1
-from LoopStructural.export.geoh5 import add_group_to_geoh5, add_points_to_geoh5, add_points_from_df
2
-import geoh5py
3
import pytest
+geoh5py = pytest.importorskip("geoh5py")
+from LoopStructural.export.geoh5 import add_group_to_geoh5, add_points_to_geoh5, add_points_from_df
4
+
5
from pathlib import Path
6
from LoopStructural.datatypes import ValuePoints, VectorPoints
7
import numpy as np
8
9
@pytest.fixture
10
def tmp_path():
11
import tempfile
0 commit comments