Skip to content

Commit 8e41190

Browse files
authored
Temporary disable failing DLPack relating tests (#2708)
The PR mutes failing tests due to[ dpctl-2213](IntelPython/dpctl#2213).
1 parent 81426e4 commit 8e41190

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

dpnp/tests/test_sycl_queue.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,6 +1052,7 @@ def test_array_creation_from_dpctl(copy, device):
10521052
assert isinstance(result, dpnp_array)
10531053

10541054

1055+
@pytest.mark.skip("due to dpctl-2213")
10551056
@pytest.mark.parametrize("device", valid_dev, ids=dev_ids)
10561057
@pytest.mark.parametrize("arr_dtype", get_all_dtypes(no_float16=True))
10571058
@pytest.mark.parametrize("shape", [tuple(), (2,), (3, 0, 1), (2, 2, 2)])

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ def _get_stream(self, stream_name):
7878
return dpctl.SyclQueue()
7979
return dpctl.SyclQueue()
8080

81+
@pytest.mark.skip("due to dpctl-2213")
8182
@testing.for_all_dtypes(no_bool=False)
8283
def test_conversion(self, dtype):
8384
orig_array = _gen_array(dtype)
@@ -97,6 +98,7 @@ def test_from_dlpack_and_conv_errors(self):
9798
# for host copies.
9899
cupy.from_dlpack(orig_array, copy=True)
99100

101+
@pytest.mark.skip("due to dpctl-2213")
100102
@pytest.mark.parametrize(
101103
"kwargs, versioned",
102104
[
@@ -124,6 +126,7 @@ def test_conversion_max_version(self, kwargs, versioned):
124126
testing.assert_array_equal(orig_array, out_array)
125127
testing.assert_array_equal(orig_array.data.ptr, out_array.data.ptr)
126128

129+
@pytest.mark.skip("due to dpctl-2213")
127130
def test_conversion_device(self):
128131
orig_array = _gen_array("float32")
129132

@@ -195,6 +198,7 @@ def test_conversion_device_to_cpu(self):
195198
)
196199
assert numpy.may_share_memory(arr_nocopy, arr1)
197200

201+
@pytest.mark.skip("due to dpctl-2213")
198202
def test_stream(self):
199203
allowed_streams = ["null", True]
200204

0 commit comments

Comments
 (0)