diff options
author | Picca Frédéric-Emmanuel <picca@synchrotron-soleil.fr> | 2019-12-23 13:45:09 +0100 |
---|---|---|
committer | Picca Frédéric-Emmanuel <picca@synchrotron-soleil.fr> | 2019-12-23 13:45:09 +0100 |
commit | 5d647cf9a6159afd2933da594b9c79ad93d3cd9b (patch) | |
tree | 2571025a602f68fc8933b01104dc712d41f84034 /silx/math/fft/test | |
parent | 654a6ac93513c3cc1ef97cacd782ff674c6f4559 (diff) |
New upstream version 0.12.0~b0+dfsg
Diffstat (limited to 'silx/math/fft/test')
-rw-r--r-- | silx/math/fft/test/test_fft.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/silx/math/fft/test/test_fft.py b/silx/math/fft/test/test_fft.py index 51f846f..358d0ee 100644 --- a/silx/math/fft/test/test_fft.py +++ b/silx/math/fft/test/test_fft.py @@ -123,7 +123,8 @@ class TestFFT(ParametricTestCase): "opencl back-end requires pyopencl and gpyfft") def test_opencl(self): from silx.opencl.common import ocl - self.__run_tests(backend="opencl", ctx=ocl.create_context()) + if ocl is not None: + self.__run_tests(backend="opencl", ctx=ocl.create_context()) @unittest.skipIf(not __have_fftw__, "fftw back-end requires pyfftw") |