Commit 19ed6ac1 authored by Martin Reinecke's avatar Martin Reinecke

skip a test if scipy functionality is not available

parent 74437e10
Pipeline #79900 passed with stages
in 13 minutes and 38 seconds
......@@ -64,8 +64,11 @@ def testp2():
assert_((quat2==quat3).all(), "problem")
quat2 *= np.sign(quat2[:,0]).reshape((-1,1))
from scipy.spatial.transform import Rotation as R
from scipy.spatial.transform import Slerp
try:
from scipy.spatial.transform import Rotation as R
from scipy.spatial.transform import Slerp
except:
pytest.skip()
times1 = t01 + 1./f1*np.arange(size1)
r1 = R.from_quat(quat1)
rrquat = R.from_quat(rquat)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment