Skip to content
Merged
Prev Previous commit
Next Next commit
disable more tests on windows
  • Loading branch information
xadupre committed Nov 13, 2023
commit d2262e35f762b8a56594def70269b4358019132a
4 changes: 3 additions & 1 deletion _unittests/ut_npx/test_sklearn_array_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from onnx.defs import onnx_opset_version
from sklearn import config_context, __version__ as sklearn_version
from sklearn.discriminant_analysis import LinearDiscriminantAnalysis
from onnx_array_api.ext_test_case import ExtTestCase, ignore_warnings
from onnx_array_api.ext_test_case import ExtTestCase, ignore_warnings, skipif_ci_windows
from onnx_array_api.npx.npx_numpy_tensors import EagerNumpyTensor


Expand All @@ -17,6 +17,7 @@ class TestSklearnArrayAPI(ExtTestCase):
reason="reshape ArrayAPI not followed",
)
@ignore_warnings(DeprecationWarning)
@skipif_ci_windows("Unstable on Windows.")
def test_sklearn_array_api_linear_discriminant(self):
X = np.array(
[[-1, -1], [-2, -1], [-3, -2], [1, 1], [2, 1], [3, 2]], dtype=np.float64
Expand All @@ -39,6 +40,7 @@ def test_sklearn_array_api_linear_discriminant(self):
reason="reshape ArrayAPI not followed",
)
@ignore_warnings(DeprecationWarning)
@skipif_ci_windows("Unstable on Windows.")
def test_sklearn_array_api_linear_discriminant_float32(self):
X = np.array(
[[-1, -1], [-2, -1], [-3, -2], [1, 1], [2, 1], [3, 2]], dtype=np.float32
Expand Down