diff --git a/test/test_c_execution.py b/test/test_c_execution.py
index 460af0c4bf5a9fbee46c5700cb4af373ef017564..20725d69120e900e2342b3ad2f9b6fb11c5e8867 100644
--- a/test/test_c_execution.py
+++ b/test/test_c_execution.py
@@ -257,9 +257,10 @@ def test_c_caching():
     # setup test logger to check logs
     tl = TestingLogger()
     tl.start_capture()
-    # remake kernel to clear cache
-    knl = __get_knl()
-    assert np.allclose(knl(b=np.arange(10))[1], np.arange(10))
+    # copy kernel such that we share the same executor cache
+    knl = knl.copy()
+    # but use different args, so we can't cache the result
+    assert np.allclose(knl(b=np.arange(1, 11))[1], np.arange(1, 11))
     # and get logs
     logs = tl.stop_capture()
     # check that we didn't recompile