diff --git a/test/test_wrapper.py b/test/test_wrapper.py
index 06b09deb18aef75542c77828cd961380faeac7cf..969d5e6c85b80df3f6725eecf5b1238b097f0773 100644
--- a/test/test_wrapper.py
+++ b/test/test_wrapper.py
@@ -140,7 +140,6 @@ class TestCL:
 
         cl.unload_compiler() # just for the heck of it
 
-        mf = cl.mem_flags
         n = 2000
         a_buf = cl.Buffer(ctx, 0, n*4)