@@ -230,7 +230,7 @@ def test_scatter_gather(self):
230
230
@skip_without ('numpy' )
231
231
def test_scatter_gather_numpy (self ):
232
232
import numpy
233
- from numpy .testing . utils import assert_array_equal
233
+ from numpy .testing import assert_array_equal
234
234
235
235
view = self .client [:]
236
236
a = numpy .arange (64 )
@@ -250,7 +250,7 @@ def test_scatter_gather_lazy(self):
250
250
def test_apply_numpy (self ):
251
251
"""view.apply(f, ndarray)"""
252
252
import numpy
253
- from numpy .testing . utils import assert_array_equal
253
+ from numpy .testing import assert_array_equal
254
254
255
255
A = numpy .random .random ((100 , 100 ))
256
256
view = self .client [- 1 ]
@@ -263,7 +263,7 @@ def test_apply_numpy(self):
263
263
def test_apply_numpy_object_dtype (self ):
264
264
"""view.apply(f, ndarray) with dtype=object"""
265
265
import numpy
266
- from numpy .testing . utils import assert_array_equal
266
+ from numpy .testing import assert_array_equal
267
267
268
268
view = self .client [- 1 ]
269
269
@@ -279,7 +279,7 @@ def test_apply_numpy_object_dtype(self):
279
279
def test_push_pull_recarray (self ):
280
280
"""push/pull recarrays"""
281
281
import numpy
282
- from numpy .testing . utils import assert_array_equal
282
+ from numpy .testing import assert_array_equal
283
283
284
284
view = self .client [- 1 ]
285
285
@@ -348,7 +348,7 @@ def test_map_iterable(self):
348
348
def test_map_numpy (self ):
349
349
"""test map on numpy arrays (direct)"""
350
350
import numpy
351
- from numpy .testing . utils import assert_array_equal
351
+ from numpy .testing import assert_array_equal
352
352
353
353
view = self .client [:]
354
354
# 101 is prime, so it won't be evenly distributed
@@ -366,7 +366,7 @@ def test_scatter_gather_nonblocking(self):
366
366
@skip_without ('numpy' )
367
367
def test_scatter_gather_numpy_nonblocking (self ):
368
368
import numpy
369
- from numpy .testing . utils import assert_array_equal
369
+ from numpy .testing import assert_array_equal
370
370
371
371
a = numpy .arange (64 )
372
372
view = self .client [:]
0 commit comments