Skip to content

Commit d58d58f

Browse files
Skip testing complex special values on Windows
1 parent 9d97804 commit d58d58f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

dpctl/tests/elementwise/test_hyperbolic.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
# limitations under the License.
1616

1717
import itertools
18+
import os
1819

1920
import numpy as np
2021
import pytest
@@ -270,6 +271,7 @@ def test_hyper_real_special_cases(np_call, dpt_call, dtype):
270271
assert_allclose(dpt.asnumpy(dpt_call(yf)), Y_np, atol=tol, rtol=tol)
271272

272273

274+
@pytest.mark.skipif(os.name == "nt", reason="Known problems on Windows")
273275
@pytest.mark.parametrize("np_call, dpt_call", _all_funcs)
274276
@pytest.mark.parametrize("dtype", ["c8", "c16"])
275277
def test_hyper_complex_special_cases(np_call, dpt_call, dtype):

dpctl/tests/elementwise/test_trigonometric.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
# limitations under the License.
1616

1717
import itertools
18+
import os
1819

1920
import numpy as np
2021
import pytest
@@ -267,6 +268,7 @@ def test_trig_real_special_cases(np_call, dpt_call, dtype):
267268
assert_allclose(dpt.asnumpy(dpt_call(yf)), Y_np, atol=tol, rtol=tol)
268269

269270

271+
@pytest.mark.skipif(os.name == "nt", reason="Known problem on Windows")
270272
@pytest.mark.parametrize("np_call, dpt_call", _all_funcs)
271273
@pytest.mark.parametrize("dtype", ["c8", "c16"])
272274
def test_trig_complex_special_cases(np_call, dpt_call, dtype):

0 commit comments

Comments
 (0)