summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorWarren Weckesser <warren.weckesser@gmail.com>2020-04-27 13:48:04 -0400
committerWarren Weckesser <warren.weckesser@gmail.com>2020-04-27 13:48:04 -0400
commit621efc7718d3676c390bd673c0f8b53bcb4fc308 (patch)
treef2b5517055ef7731bee35971798d4e4e9d279812 /numpy
parentca5ade84d02801401d4833eec9d8a50ef04e46ce (diff)
downloadnumpy-621efc7718d3676c390bd673c0f8b53bcb4fc308.tar.gz
TST: random: Skip a test if integers are 32 bit.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/random/tests/test_randomstate.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/random/tests/test_randomstate.py b/numpy/random/tests/test_randomstate.py
index 9c2128529..edd7811bf 100644
--- a/numpy/random/tests/test_randomstate.py
+++ b/numpy/random/tests/test_randomstate.py
@@ -350,6 +350,8 @@ class TestRandint:
res = hashlib.md5(val).hexdigest()
assert_(tgt[np.dtype(bool).name] == res)
+ @pytest.mark.skipif(np.iinfo('l').max < 2**32,
+ reason='Cannot test with 32-bit C long')
def test_repeatability_32bit_boundary_broadcasting(self):
desired = np.array([[[3992670689, 2438360420, 2557845020],
[4107320065, 4142558326, 3216529513],