From 5d6621d77b7a99ef0cdff1e20e5b900760bd959a Mon Sep 17 00:00:00 2001 From: Xavier Dupre Date: Wed, 26 Jun 2024 20:00:28 +0200 Subject: [PATCH] remove unnecessary code Signed-off-by: Xavier Dupre --- onnxscript/backend/onnx_export_test.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/onnxscript/backend/onnx_export_test.py b/onnxscript/backend/onnx_export_test.py index bb429db6b..bdc7e73fd 100644 --- a/onnxscript/backend/onnx_export_test.py +++ b/onnxscript/backend/onnx_export_test.py @@ -92,13 +92,6 @@ def skip(pattern: str | Pattern, reason: str, *, condition: bool = True): skip(r"^test_ai_onnx_ml_label_encoder", "ONNX Runtime does not support Opset 21 at 1.17"), ) -if sys.platform == "win32___": - # TODO: skip the tests on windows, it is probably related to PR https://github.com/microsoft/onnxscript/pull/1623 - SKIP_TESTS = ( - *SKIP_TESTS, - skip(r"^test_", "cannot import module, import_module does not work"), - ) - def load_function(obj): return ort.InferenceSession(obj.SerializeToString(), providers=("CPUExecutionProvider",))