Skip to content

Commit 0ebd959

Browse files
committed
Revert changes in test_astype_type since it failes with numpy.intc dtype
1 parent 6548326 commit 0ebd959

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dpnp/tests/third_party/cupy/core_tests/test_ndarray_copy_and_view.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ def test_astype_type(self, src_dtype, dst_dtype, order):
349349
b = astype_without_warning(a, dst_dtype, order=order)
350350
a_cpu = testing.shaped_arange((2, 3, 4), numpy, src_dtype)
351351
b_cpu = astype_without_warning(a_cpu, dst_dtype, order=order)
352-
assert b.dtype.type == b_cpu.dtype.type
352+
assert b.dtype == b_cpu.dtype
353353

354354
@testing.for_orders("CAK")
355355
@testing.for_all_dtypes()

0 commit comments

Comments
 (0)