Blob Blame History Raw
diff --git a/tests/core/test_solve.py b/tests/core/test_solve.py
index 71812ca..778bbb4 100644
--- a/tests/core/test_solve.py
+++ b/tests/core/test_solve.py
@@ -224,14 +224,14 @@ def test_cuda_fail_1(tmpdir, clear_cuda_version):
         else:
             plat = "osx-64"
     elif sys.platform == "linux":
-        plat = "linux-64"
+        plat = "linux-%s" % platform.architecture()[0][0:2]
     elif sys.platform == "win32":
         if platform.architecture()[0] == "32bit":
             plat = "win-32"
         else:
             plat = "win-64"
     else:
-        plat = "linux-64"
+        plat = "linux-%s" % platform.architecture()[0][0:2]
 
     assert str(exc.value).strip() == dals(
         """The following specifications were found to be incompatible with your system: