diff --git a/test/test_array.py b/test/test_array.py
index 49c9d44bd3d7d317e720dcf9e712e78d83c0cc23..bfe227849e4f3f2d7ccaaf0da1e97c4f128d986b 100644
--- a/test/test_array.py
+++ b/test/test_array.py
@@ -445,6 +445,13 @@ def test_random(ctx_factory):
 # {{{ misc
 
 def test_numpy_integer_shape(ctx_factory):
+    try:
+        list(np.int32(17))
+    except:
+        pass
+    else:
+        from pytest import skip
+        skip("numpy implementation does not handle scalar correctly.")
     context = ctx_factory()
     queue = cl.CommandQueue(context)