diff --git a/test/test_array.py b/test/test_array.py
index 811969a6775a69d2368360e3a7e83f0d02418822..02e43e2481f4b3bdcdbc25f4c682dbd0043052b0 100644
--- a/test/test_array.py
+++ b/test/test_array.py
@@ -1072,7 +1072,7 @@ def test_skip_slicing(ctx_factory):
     a = cl_array.to_device(queue, a_host)
     b = a[::3]
     assert b.shape == b_host.shape
-    assert np.array_equal(b[1].get(), b_host[1])  # pylint:disable=unsubscriptable-object
+    assert np.array_equal(b[1].get(), b_host[1])  # noqa pylint:disable=unsubscriptable-object
 
 
 def test_transpose(ctx_factory):