From 975a80d3c1b8d1577c4387836b18bc6da3d7dd23 Mon Sep 17 00:00:00 2001 From: William Ma <12377941+williamma12@users.noreply.github.com> Date: Tue, 2 Feb 2021 21:00:48 -0600 Subject: [PATCH] FEAT-#2451: Fix outdated documentation in tests Signed-off-by: William Ma --- modin/experimental/pandas/test/test_io_exp.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modin/experimental/pandas/test/test_io_exp.py b/modin/experimental/pandas/test/test_io_exp.py index 84dbcd9d362..5005eda4f8a 100644 --- a/modin/experimental/pandas/test/test_io_exp.py +++ b/modin/experimental/pandas/test/test_io_exp.py @@ -77,6 +77,7 @@ def TestReadGlobCSVFixture(): pytest.glob_path = "{}_*.csv".format(base_name) pytest.files = ["{}_{}.csv".format(base_name, i) for i in range(11)] for fname in pytest.files: + # Glob does not guarantee ordering so we have to remove the randomness in the generated csvs. _make_csv_file(filenames)(fname, row_size=11, remove_randomness=True) yield @@ -97,7 +98,6 @@ def test_read_multiple_small_csv(self): # noqa: F811 pandas_df = pandas_df.reset_index(drop=True) modin_df = modin_df.reset_index(drop=True) - # Glob does not guarantee ordering so we have to test both. df_equals(modin_df, pandas_df) @pytest.mark.parametrize("nrows", [35, 100]) @@ -111,7 +111,6 @@ def test_read_multiple_csv_nrows(self, request, nrows): # noqa: F811 pandas_df = pandas_df.reset_index(drop=True) modin_df = modin_df.reset_index(drop=True) - # Glob does not guarantee ordering so we have to test both. df_equals(modin_df, pandas_df)