skip tests using scipy if not installed
This commit is contained in:
parent
a6bb2c6edd
commit
4aeb0ce1dd
@ -39,6 +39,8 @@ def test_interpolateArray_order1():
|
|||||||
|
|
||||||
|
|
||||||
def check_interpolateArray(order):
|
def check_interpolateArray(order):
|
||||||
|
pytest.importorskip("scipy")
|
||||||
|
|
||||||
def interpolateArray(data, x):
|
def interpolateArray(data, x):
|
||||||
result = pg.interpolateArray(data, x, order=order)
|
result = pg.interpolateArray(data, x, order=order)
|
||||||
assert result.shape == x.shape[:-1] + data.shape[x.shape[-1]:]
|
assert result.shape == x.shape[:-1] + data.shape[x.shape[-1]:]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user