diff --git a/csharp/test/Microsoft.ML.OnnxRuntime.Tests.iOS/InferenceTest.ios.cs b/csharp/test/Microsoft.ML.OnnxRuntime.Tests.iOS/InferenceTest.ios.cs index 9b7d73e462..1893ab937f 100644 --- a/csharp/test/Microsoft.ML.OnnxRuntime.Tests.iOS/InferenceTest.ios.cs +++ b/csharp/test/Microsoft.ML.OnnxRuntime.Tests.iOS/InferenceTest.ios.cs @@ -9,7 +9,6 @@ namespace Microsoft.ML.OnnxRuntime.Tests { var opt = new SessionOptions(); opt.AppendExecutionProvider_CoreML(CoreMLFlags.COREML_FLAG_ONLY_ENABLE_DEVICE_WITH_ANE); - Assert.NotNull(opt); } } } \ No newline at end of file