dpnp icon indicating copy to clipboard operation
dpnp copied to clipboard

`usm_ndarray.flags` interface is not compatible with `third-party/cupy` test cases.

Open samir-nasibli opened this issue 4 years ago • 0 comments

Description

usm_ndarray interface is not compatible with some third-party/cupy test cases. numpy.ndarray for flags method returns numpy.flagsobj, while usm_ndarray returns int val for flags method. third-party/cupy test cases require flagsobj object. We shouldn't change third-party tests, we can only disable tests, what has already been done in this PR.

Disabled tests

See #940

tests/third_party/cupy/creation_tests/test_from_data.py::TestFromData::test_asanyarray_with_order
tests/third_party/cupy/creation_tests/test_from_data.py::TestFromData::test_asarray_from_numpy
tests/third_party/cupy/creation_tests/test_from_data.py::TestFromData::test_asarray_with_order

samir-nasibli avatar Sep 21 '21 09:09 samir-nasibli