Skip to content

Commit d15d395

Browse files
authored
Temporary mute tests failing in public CI (#2518)
The PR temporary mutes tests which are sporadically failing in GitHub workflow on Windows.
1 parent 624f14f commit d15d395

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

dpnp/tests/test_product.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
assert_dtype_allclose,
1313
generate_random_numpy_array,
1414
get_all_dtypes,
15+
is_gpu_device,
1516
is_ptl,
17+
is_win_platform,
1618
numpy_version,
1719
)
1820
from .third_party.cupy import testing
@@ -1441,6 +1443,9 @@ class TestMatvec:
14411443
def setup_method(self):
14421444
numpy.random.seed(42)
14431445

1446+
@pytest.mark.skipif(
1447+
is_win_platform() and not is_gpu_device(), reason="SAT-8073"
1448+
)
14441449
@pytest.mark.parametrize("dtype", get_all_dtypes(no_none=True))
14451450
@pytest.mark.parametrize(
14461451
"shape1, shape2",
@@ -2167,6 +2172,9 @@ class TestVecmat:
21672172
def setup_method(self):
21682173
numpy.random.seed(42)
21692174

2175+
@pytest.mark.skipif(
2176+
is_win_platform() and not is_gpu_device(), reason="SAT-8073"
2177+
)
21702178
@pytest.mark.parametrize("dtype", get_all_dtypes(no_none=True))
21712179
@pytest.mark.parametrize(
21722180
"shape1, shape2",

dpnp/tests/test_umath.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
has_support_aspect64,
2424
is_cuda_device,
2525
is_gpu_device,
26+
is_win_platform,
2627
)
2728

2829
# full list of umaths
@@ -121,6 +122,9 @@ def test_umaths(test_cases):
121122
pytest.skip("dpnp.modf is not supported with dpnp.float16")
122123
elif is_cuda_device():
123124
pytest.skip("dpnp.modf is not supported on CUDA device")
125+
elif umath in ["vecmat", "matvec"]:
126+
if is_win_platform() and not is_gpu_device():
127+
pytest.skip("SAT-8073")
124128

125129
expected = getattr(numpy, umath)(*args)
126130
result = getattr(dpnp, umath)(*iargs)

0 commit comments

Comments
 (0)