1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
--- a/numba/tests/test_hashing.py
+++ b/numba/tests/test_hashing.py
@@ -21,6 +21,7 @@
from numba.cpython.unicode import compile_time_get_string_data
from numba.cpython import hashing
+from numba import platform
def hash_usecase(x):
return hash(x)
@@ -247,6 +248,7 @@
tuples = [split(a) for a in values]
self.check_hash_values(tuples)
+ @unittest.skipIf(platform.architecture()[0]=='32bit', reason="64-bit integers required by test are not supported on 32-bit systems")
def test_homogeneous_tuples(self):
typ = np.uint64
@@ -278,6 +280,7 @@
self.check_hash_values([(7,), (0,), (0, 0), (0.5,),
(0.5, (7,), (-2, 3, (4, 6)))])
+ @unittest.skipIf(platform.architecture()[0]=='32bit', reason="64-bit integers required by test are not supported on 32-bit systems")
def test_heterogeneous_tuples(self):
modulo = 2**63
|