Skip to content

Commit 10756d1

Browse files
Revert gh-2579
1 parent 07d455e commit 10756d1

File tree

4 files changed

+1
-21
lines changed

4 files changed

+1
-21
lines changed

dpnp/tests/test_linalg.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
get_float_complex_dtypes,
2424
get_integer_float_dtypes,
2525
has_support_aspect64,
26-
is_arl_or_mtl,
27-
is_win_platform,
2826
numpy_version,
2927
)
3028
from .third_party.cupy import testing
@@ -110,8 +108,6 @@ def test_usm_ndarray_linalg_batch(func, gen_kwargs, func_kwargs):
110108
)
111109
for _ in range(2)
112110
]
113-
elif func == "cholesky" and is_win_platform() and is_arl_or_mtl():
114-
pytest.skip("SAT-8206")
115111
else:
116112
dpt_args = [
117113
dpt.asarray(generate_random_numpy_array(shape, **gen_kwargs))
@@ -161,8 +157,6 @@ class TestCholesky:
161157
def test_cholesky(self, array, dtype):
162158
a = numpy.array(array, dtype=dtype)
163159
ia = dpnp.array(a)
164-
if ia.ndim > 2 and is_win_platform() and is_arl_or_mtl():
165-
pytest.skip("SAT-8206")
166160
result = dpnp.linalg.cholesky(ia)
167161
expected = numpy.linalg.cholesky(a)
168162
assert_dtype_allclose(result, expected)
@@ -182,8 +176,6 @@ def test_cholesky(self, array, dtype):
182176
@pytest.mark.parametrize("dtype", get_all_dtypes(no_bool=True))
183177
def test_cholesky_upper(self, array, dtype):
184178
ia = dpnp.array(array, dtype=dtype)
185-
if ia.ndim > 2 and is_win_platform() and is_arl_or_mtl():
186-
pytest.skip("SAT-8206")
187179
result = dpnp.linalg.cholesky(ia, upper=True)
188180

189181
if ia.ndim > 2:
@@ -226,8 +218,6 @@ def test_cholesky_upper(self, array, dtype):
226218
def test_cholesky_upper_numpy(self, array, dtype):
227219
a = numpy.array(array, dtype=dtype)
228220
ia = dpnp.array(a)
229-
if ia.ndim > 2 and is_win_platform() and is_arl_or_mtl():
230-
pytest.skip("SAT-8206")
231221
result = dpnp.linalg.cholesky(ia, upper=True)
232222
expected = numpy.linalg.cholesky(a, upper=True)
233223
assert_dtype_allclose(result, expected)

dpnp/tests/test_sycl_queue.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
from .helper import (
1616
generate_random_numpy_array,
1717
get_all_dtypes,
18-
is_arl_or_mtl,
1918
is_win_platform,
2019
)
2120

@@ -1506,8 +1505,6 @@ def test_cholesky(self, data, is_empty, device):
15061505
else:
15071506
dtype = dpnp.default_float_type(device)
15081507
x = dpnp.array(data, dtype=dtype, device=device)
1509-
if x.ndim > 2 and is_win_platform() and is_arl_or_mtl():
1510-
pytest.skip("SAT-8206")
15111508

15121509
result = dpnp.linalg.cholesky(x)
15131510
assert_sycl_queue_equal(result.sycl_queue, x.sycl_queue)

dpnp/tests/test_usm_type.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import dpnp
1111
from dpnp.dpnp_utils import get_usm_allocations
1212

13-
from .helper import generate_random_numpy_array, is_arl_or_mtl, is_win_platform
13+
from .helper import generate_random_numpy_array
1414

1515
list_of_usm_types = ["device", "shared", "host"]
1616

@@ -1358,8 +1358,6 @@ def test_cholesky(self, data, is_empty, usm_type):
13581358
x = dpnp.empty(data, dtype=dtype, usm_type=usm_type)
13591359
else:
13601360
x = dpnp.array(data, dtype=dtype, usm_type=usm_type)
1361-
if x.ndim > 2 and is_win_platform() and is_arl_or_mtl():
1362-
pytest.skip("SAT-8206")
13631361

13641362
result = dpnp.linalg.cholesky(x)
13651363
assert x.usm_type == result.usm_type

dpnp/tests/third_party/cupy/linalg_tests/test_decomposition.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
import dpnp as cupy
77
from dpnp.tests.helper import (
88
has_support_aspect64,
9-
is_arl_or_mtl,
109
is_cpu_device,
11-
is_win_platform,
1210
)
1311
from dpnp.tests.third_party.cupy import testing
1412
from dpnp.tests.third_party.cupy.testing import _condition
@@ -84,9 +82,6 @@ def test_decomposition(self, dtype):
8482
# np.linalg.cholesky only uses a lower triangle of an array
8583
self.check_L(numpy.array([[1, 2], [1, 9]], dtype))
8684

87-
@pytest.mark.skipif(
88-
is_win_platform() and is_arl_or_mtl(), reason="SAT-8206"
89-
)
9085
@testing.for_dtypes(
9186
[
9287
numpy.int32,

0 commit comments

Comments
 (0)