Commits

David Schneider committed aa774bc

fix test

  • Participants
  • Parent commits 1891968

Comments (0)

Files changed (2)

rpython/jit/backend/detect_cpu.py

         for macro in v:
             if not getdefined(macro, ''):
                 continue
-            return k
+            return '_'.join(k)
     raise ProcessorAutodetectError, "Cannot detect processor using compiler macros"
 
 

rpython/jit/backend/test/test_detect_cpu.py

 
 
 def test_detect_main_model_and_size_from_platform():
-    info = detect_main_model_and_size_from_platform()
+    info = autodetect_main_model_and_size()
     assert detect_main_model_and_size_from_platform() == info