diff --git a/test/Microsoft.ML.Tests/TextLoaderTests.cs b/test/Microsoft.ML.Tests/TextLoaderTests.cs index 360261e379..95578214e7 100644 --- a/test/Microsoft.ML.Tests/TextLoaderTests.cs +++ b/test/Microsoft.ML.Tests/TextLoaderTests.cs @@ -142,20 +142,6 @@ public TextLoaderTests(ITestOutputHelper output) env = new ConsoleEnvironment(42).AddStandardComponents(); } - [Fact] - public void ConstructorDoesntThrow() - { - var mlContext = new MLContext(seed: 1); - - Assert.NotNull(mlContext.Data.LoadFromTextFile("fakeFile.txt")); - Assert.NotNull(mlContext.Data.LoadFromTextFile("fakeFile.txt", hasHeader: true)); - Assert.NotNull(mlContext.Data.LoadFromTextFile("fakeFile.txt", hasHeader: false)); - Assert.NotNull(mlContext.Data.LoadFromTextFile("fakeFile.txt", hasHeader: false, trimWhitespace: false, allowSparse: false)); - Assert.NotNull(mlContext.Data.LoadFromTextFile("fakeFile.txt", hasHeader: false, allowSparse: false)); - Assert.NotNull(mlContext.Data.LoadFromTextFile("fakeFile.txt", hasHeader: false, allowQuoting: false)); - Assert.NotNull(mlContext.Data.LoadFromTextFile("fakeFile.txt")); - } - [Fact] public void CanSuccessfullyApplyATransform() {