Skip to content

Commit dc86084

Browse files
Unskip dlpack tests (#2711)
This PR reverts #2708 due to [dpctl-2213](IntelPython/dpctl#2213) has been resolved
1 parent 865b53e commit dc86084

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

dpnp/tests/test_sycl_queue.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,6 @@ def test_array_creation_from_dpctl(copy, device):
10821082
assert isinstance(result, dpnp_array)
10831083

10841084

1085-
@pytest.mark.skip("due to dpctl-2213")
10861085
@pytest.mark.parametrize("device", valid_dev, ids=dev_ids)
10871086
@pytest.mark.parametrize("arr_dtype", get_all_dtypes(no_float16=True))
10881087
@pytest.mark.parametrize("shape", [tuple(), (2,), (3, 0, 1), (2, 2, 2)])

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ def _get_stream(self, stream_name):
8282
return dpctl.SyclQueue()
8383
return dpctl.SyclQueue()
8484

85-
@pytest.mark.skip("due to dpctl-2213")
8685
@testing.for_all_dtypes(no_bool=False)
8786
def test_conversion(self, dtype):
8887
orig_array = _gen_array(dtype)
@@ -102,7 +101,6 @@ def test_from_dlpack_and_conv_errors(self):
102101
# for host copies.
103102
cupy.from_dlpack(orig_array, copy=True)
104103

105-
@pytest.mark.skip("due to dpctl-2213")
106104
@pytest.mark.parametrize(
107105
"kwargs, versioned",
108106
[
@@ -130,7 +128,6 @@ def test_conversion_max_version(self, kwargs, versioned):
130128
testing.assert_array_equal(orig_array, out_array)
131129
testing.assert_array_equal(orig_array.data.ptr, out_array.data.ptr)
132130

133-
@pytest.mark.skip("due to dpctl-2213")
134131
def test_conversion_device(self):
135132
orig_array = _gen_array("float32")
136133

@@ -202,7 +199,6 @@ def test_conversion_device_to_cpu(self):
202199
)
203200
assert numpy.may_share_memory(arr_nocopy, arr1)
204201

205-
@pytest.mark.skip("due to dpctl-2213")
206202
def test_stream(self):
207203
allowed_streams = ["null", True]
208204
# if not cuda.runtime.is_hip:

0 commit comments

Comments
 (0)