Skip to content

Commit

Permalink
remove unnecessary code
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Dupre <xadupre@microsoft.com>
  • Loading branch information
xadupre committed Jun 26, 2024
1 parent d5920fe commit 5d6621d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions onnxscript/backend/onnx_export_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",))
Expand Down

0 comments on commit 5d6621d

Please sign in to comment.