Skip to content

Commit 6838fc3

Browse files
committed
Run test_empty only with Linux due to platform dependant result returned by numpy.frexp
1 parent 73b5ea5 commit 6838fc3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dpnp/tests/test_mathematical.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -826,6 +826,10 @@ def test_out_overlap(self, dt):
826826
assert res1 is iout_mant
827827
assert res2 is iout_exp
828828

829+
@pytest.mark.skipif(
830+
is_win_platform(),
831+
reason="numpy.frexp gives different answers on Windows and Linux",
832+
)
829833
@pytest.mark.parametrize("dt", get_float_dtypes())
830834
def test_empty(self, dt):
831835
a = numpy.empty((), dtype=dt)

0 commit comments

Comments
 (0)