diff options
| author | Sebastian Berg <sebastian@sipsolutions.net> | 2022-06-29 12:22:38 -0700 |
|---|---|---|
| committer | Sebastian Berg <sebastianb@nvidia.com> | 2022-10-12 10:41:40 +0200 |
| commit | 2143ccae68b71754381ac5b95349520d0b505275 (patch) | |
| tree | 74e3aaf11ff1461f3372e80445dc5b188631675a /numpy | |
| parent | 89cfcf0a31f07dfd33dd0b462619e7202d807b6b (diff) | |
| download | numpy-2143ccae68b71754381ac5b95349520d0b505275.tar.gz | |
MAINT: Make mem-overlap tests weak scalar promotion ready
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/core/tests/test_mem_overlap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/tests/test_mem_overlap.py b/numpy/core/tests/test_mem_overlap.py index 24bdf477f..d66decfda 100644 --- a/numpy/core/tests/test_mem_overlap.py +++ b/numpy/core/tests/test_mem_overlap.py @@ -105,7 +105,7 @@ def test_diophantine_fuzz(): for j in range(ndim)) b_ub = min(max_int-2, sum(a*ub for a, ub in zip(A, U))) - b = rng.randint(-1, b_ub+2, dtype=np.intp) + b = int(rng.randint(-1, b_ub+2, dtype=np.intp)) if ndim == 0 and feasible_count < min_count: b = 0 |
