From 16c23ec76add3988c3369c1dedd7a9e2f008d855 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Mon, 1 Feb 2021 11:12:47 +0100 Subject: tests: Don't be fooled by 32bit userspace on amd64 This unbreaks salsa-ci --- tests/12_test_deb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/12_test_deb.py b/tests/12_test_deb.py index 4a2388e2..b00d626e 100644 --- a/tests/12_test_deb.py +++ b/tests/12_test_deb.py @@ -164,7 +164,7 @@ class TestDpkgCompareVersions(unittest.TestCase): class TestDeb(unittest.TestCase): """Test L{gbp.deb.__init__} """ - @unittest.skipUnless(platform.machine() == "x86_64", "not on amd64") + @unittest.skipUnless(platform.machine() == "x86_64" and platform.architecture()[0] == '64bit', "not on amd64") def test_get_arch(self): arch = gbp.deb.get_arch() self.assertTrue(isinstance(arch, str)) -- cgit v1.2.3