diff --git a/test/test_wrapper.py b/test/test_wrapper.py
index 3a0106826df0376461a4f250230f01658c81bfe1..fa1e1d2714b477278da59df178eb6a8ea8b8b1f1 100644
--- a/test/test_wrapper.py
+++ b/test/test_wrapper.py
@@ -1091,7 +1091,7 @@ def test_copy_buffer_rect(ctx_factory):
     queue = cl.CommandQueue(ctx)
 
     arr1 = cl_array.zeros(queue, (2, 3), "f")
-    arr2 = cl_parray.zeros(queue, (4, 5), "f")
+    arr2 = cl_array.zeros(queue, (4, 5), "f")
     arr1.fill(1)
     cl.enqueue_copy(
             queue, arr2.data, arr1.data,