From 8c0c9c19afa06ebd0bc088670323630eeb393a46 Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Thu, 25 Feb 2021 17:22:32 -0600
Subject: [PATCH] Fix: xfail test_zero_size_array on Intel CL

---
 test/test_array.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test_array.py b/test/test_array.py
index f665c910..eeb55ff7 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)
-- 
GitLab