summaryrefslogtreecommitdiff
path: root/tests/run/numpy_parallel.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run/numpy_parallel.pyx')
-rw-r--r--tests/run/numpy_parallel.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run/numpy_parallel.pyx b/tests/run/numpy_parallel.pyx
index 7dcf2b27a..0d7440f59 100644
--- a/tests/run/numpy_parallel.pyx
+++ b/tests/run/numpy_parallel.pyx
@@ -32,7 +32,7 @@ def test_parallel_numpy_arrays():
print i
return
- x = numpy.zeros(10, dtype=numpy.int)
+ x = numpy.zeros(10, dtype=numpy.int_)
for i in prange(x.shape[0], nogil=True):
x[i] = i - 5