diff --git a/dpnp/dpnp_iface_arraycreation.py b/dpnp/dpnp_iface_arraycreation.py index 4a4227925218..e8cec56249d6 100644 --- a/dpnp/dpnp_iface_arraycreation.py +++ b/dpnp/dpnp_iface_arraycreation.py @@ -249,9 +249,9 @@ def asanyarray(a, dtype=None, order='C'): return a if order != 'C': - checker_throw_value_error("asanyarray", "order", order, 'C') - - return array(a, dtype=dtype, order=order) + pass + else: + return array(a, dtype=dtype, order=order) return call_origin(numpy.asanyarray, a, dtype, order) diff --git a/tests/skipped_tests_gpu.tbl b/tests/skipped_tests_gpu.tbl index aa0bef7eccf4..67280c574407 100644 --- a/tests/skipped_tests_gpu.tbl +++ b/tests/skipped_tests_gpu.tbl @@ -35,8 +35,6 @@ tests/third_party/cupy/core_tests/test_ndarray_math.py::TestRoundHalfway_param_0 tests/third_party/cupy/core_tests/test_ndarray_math.py::TestRoundHalfway_param_1_{decimals=-2}::test_round_halfway_float tests/third_party/cupy/core_tests/test_ndarray_math.py::TestRoundHalfway_param_2_{decimals=-1}::test_round_halfway_float tests/third_party/cupy/core_tests/test_ndarray_math.py::TestRoundHalfway_param_3_{decimals=0}::test_round_halfway_float -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_preserves_numpy_array_order tests/third_party/cupy/creation_tests/test_from_data.py::TestFromData::test_asarray_with_order tests/third_party/cupy/creation_tests/test_from_data.py::TestFromData::test_ascontiguousarray_on_contiguous_array