diff --git a/onnxruntime/test/ir/onnx_model_test.cc b/onnxruntime/test/ir/onnx_model_test.cc index 38b85db8a4..4fb0f11ed4 100644 --- a/onnxruntime/test/ir/onnx_model_test.cc +++ b/onnxruntime/test/ir/onnx_model_test.cc @@ -72,14 +72,6 @@ TEST(ONNXModelsTest, future_opset) { ASSERT_EQ(st.Code(), common::INVALID_GRAPH); } -TEST(ONNXModelsTest, future_opset) { - // NOTE: this requires the current directory to be where onnxruntime_ir_UT.exe is located - std::shared_ptr model; - common::Status st = Model::Load("./testdata/add_opset_314159.onnx", model); - ASSERT_FALSE(st.IsOK()); - ASSERT_EQ(st.Code(), common::INVALID_GRAPH); -} - #ifdef ORT_RUN_EXTERNAL_ONNX_TESTS TEST(ONNXModelsTest1, bvlc_alexnet_1) { using ::google::protobuf::io::CodedInputStream;