@@ -274,18 +274,19 @@ def test_fill(self, xp, dtype):
274
274
a .fill (1 )
275
275
return a
276
276
277
- @pytest .mark .skip (
278
- "asynchronous fill does not allow numpy scalar array for consistency"
279
- "with dpnp.fill_diagonal"
280
- )
277
+ @testing .with_requires ("numpy>=1.24.0" )
278
+ @testing .for_all_dtypes_combination (("dtype1" , "dtype2" ))
279
+ @testing .numpy_cupy_array_equal (accept_error = ComplexWarning )
281
280
def test_fill_with_numpy_scalar_ndarray (self , xp , dtype1 , dtype2 ):
282
281
a = testing .shaped_arange ((2 , 3 , 4 ), xp , dtype1 )
283
282
a .fill (numpy .ones ((), dtype = dtype2 ))
284
283
return a
285
284
286
285
@testing .with_requires ("numpy>=1.24.0" )
287
286
@testing .for_all_dtypes_combination (("dtype1" , "dtype2" ))
288
- @testing .numpy_cupy_array_equal (accept_error = ComplexWarning )
287
+ @testing .numpy_cupy_array_equal (
288
+ accept_error = (ValueError , TypeError , ComplexWarning )
289
+ )
289
290
def test_fill_with_cupy_scalar_ndarray (self , xp , dtype1 , dtype2 ):
290
291
a = testing .shaped_arange ((2 , 3 , 4 ), xp , dtype1 )
291
292
b = xp .ones ((), dtype = dtype2 )
0 commit comments