File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55import numpy as np
66import pytest
7+ import trimesh
78import vtk
89from scipy .linalg import expm
910from scipy .stats import skew
@@ -111,7 +112,15 @@ def test_create_closed_surface_from_labelmap():
111112 # isn't supposed to add a colormap or anything like that
112113 assert surface .GetPointData ().GetScalars () is None
113114
114- @pytest .mark .parametrize ("use_embree" , [True , False ])
115+ @pytest .mark .parametrize (
116+ "use_embree" ,
117+ [
118+ False ,
119+ pytest .param (
120+ True ,
121+ marks = pytest .mark .skipif (not trimesh .ray .has_embree , reason = "Embree not available (needs x86 architecture)" )
122+ )
123+ ])
115124def test_spherical_interpolator_from_mesh (use_embree ):
116125 """Check using a torus that the spherical interpolator behaves reasonably"""
117126 parametric_torus = vtk .vtkParametricTorus ()
You can’t perform that action at this time.
0 commit comments