aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/12_test_deb.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/12_test_deb.py')
-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))