diff --git a/pystencils_tests/test_vectorization.py b/pystencils_tests/test_vectorization.py
index f84cb53464fcac284ff7fdfab05aa55944a3f806..f40a1875ae9320e47c90e6d6bc64a169f21781e4 100644
--- a/pystencils_tests/test_vectorization.py
+++ b/pystencils_tests/test_vectorization.py
@@ -9,7 +9,7 @@ from pystencils.transformations import replace_inner_stride_with_one
 
 supported_instruction_sets = get_supported_instruction_sets()
 if supported_instruction_sets:
-    instruction_set = "avx" if "avx" in supported_instruction_sets else "sse"
+    instruction_set = supported_instruction_sets[-1]
 else:
     instruction_set = None