diff --git a/test/test_array.py b/test/test_array.py index f665c910e1b7eea130b14820c1e4df44b4519d71..eeb55ff72edf36fa76388c8d5eb3e3db1763ad94 100644 --- a/test/test_array.py +++ b/test/test_array.py @@ -1488,7 +1488,7 @@ def test_zero_size_array(ctx_factory, empty_shape): context = ctx_factory() queue = cl.CommandQueue(context) - if (queue.device.platform.name == "Intel(R) OpenCL" and size == 0): + if queue.device.platform.name == "Intel(R) OpenCL": pytest.xfail("size-0 arrays fail on Intel CL") a = cl_array.zeros(queue, empty_shape, dtype=np.float32)