summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2021-02-01 11:12:47 +0100
committerGuido Günther <agx@sigxcpu.org>2021-02-01 11:56:23 +0100
commit16c23ec76add3988c3369c1dedd7a9e2f008d855 (patch)
tree3292659932d3b5c268da745284a2cc52a6092c34
parent67ce18ab9adadd4e923a995eb84b3cb085e99237 (diff)
tests: Don't be fooled by 32bit userspace on amd64
This unbreaks salsa-ci
-rw-r--r--tests/12_test_deb.py2
1 files changed, 1 insertions, 1 deletions
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))