Skip to content
Snippets Groups Projects
Commit f6f19153 authored by Michael Kuron's avatar Michael Kuron :mortar_board:
Browse files

correctly skip interpolation test without CUDA

parent 4bae07a3
1 merge request!135CI: Replace minimal-ubuntu job with ubuntu
Pipeline #21320 failed with stage
in 7 minutes and 21 seconds
......@@ -155,6 +155,10 @@ def test_rotate_interpolation_gpu(dtype, address_mode, use_textures):
def test_shift_interpolation_gpu(address_mode, dtype, use_textures):
if int(sympy.__version__.replace('.', '')) < 12 and address_mode in ['mirror', 'warp']:
pytest.skip()
pytest.importorskip('pycuda')
import pycuda.gpuarray as gpuarray
import pycuda.autoinit # noqa
rotation_angle = 0 # sympy.pi / 5
scale = 1
......
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