summaryrefslogtreecommitdiff
path: root/silx/opencl/codec/test/test_byte_offset.py
diff options
context:
space:
mode:
Diffstat (limited to 'silx/opencl/codec/test/test_byte_offset.py')
-rw-r--r--silx/opencl/codec/test/test_byte_offset.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/silx/opencl/codec/test/test_byte_offset.py b/silx/opencl/codec/test/test_byte_offset.py
index 2bfa1d3..9ce1cfc 100644
--- a/silx/opencl/codec/test/test_byte_offset.py
+++ b/silx/opencl/codec/test/test_byte_offset.py
@@ -45,16 +45,13 @@ import logging
import numpy
from silx.opencl.common import ocl, pyopencl
from silx.opencl.codec import byte_offset
-try:
- import fabio
-except ImportError:
- fabio = None
+import fabio
import unittest
logger = logging.getLogger(__name__)
-@unittest.skipUnless(ocl and fabio and pyopencl,
- "PyOpenCl or fabio is missing")
+@unittest.skipUnless(ocl and pyopencl,
+ "PyOpenCl is missing")
class TestByteOffset(unittest.TestCase):
@staticmethod