We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f87d3d8 commit 97aef4bCopy full SHA for 97aef4b
1 file changed
gridData/tests/test_vdb.py
@@ -24,6 +24,7 @@ def grid345():
24
return data, g
25
26
27
+@pytest.mark.skipif(not HAS_OPENVDB, reason="openvdb not installed")
28
class TestVDBWrite:
29
def test_write_vdb_from_grid(self, tmpdir, grid345):
30
data, g = grid345
@@ -247,6 +248,7 @@ def test_delta_1d_wrong_length_raises(self):
247
248
gridData.OpenVDB.OpenVDBField(data, origin, bad_delta)
249
250
251
+@pytest.mark.skipif(not HAS_OPENVDB, reason="Need openvdb to test import error handling")
252
def test_vdb_import_error():
253
with patch("gridData.OpenVDB.vdb", None):
254
with pytest.raises(ImportError, match="openvdb is required"):
0 commit comments