Skip to content

Commit 975a80d

Browse files
committed
FEAT-#2451: Fix outdated documentation in tests
Signed-off-by: William Ma <[email protected]>
1 parent 1713bc5 commit 975a80d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modin/experimental/pandas/test/test_io_exp.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ def TestReadGlobCSVFixture():
7777
pytest.glob_path = "{}_*.csv".format(base_name)
7878
pytest.files = ["{}_{}.csv".format(base_name, i) for i in range(11)]
7979
for fname in pytest.files:
80+
# Glob does not guarantee ordering so we have to remove the randomness in the generated csvs.
8081
_make_csv_file(filenames)(fname, row_size=11, remove_randomness=True)
8182

8283
yield
@@ -97,7 +98,6 @@ def test_read_multiple_small_csv(self): # noqa: F811
9798
pandas_df = pandas_df.reset_index(drop=True)
9899
modin_df = modin_df.reset_index(drop=True)
99100

100-
# Glob does not guarantee ordering so we have to test both.
101101
df_equals(modin_df, pandas_df)
102102

103103
@pytest.mark.parametrize("nrows", [35, 100])
@@ -111,7 +111,6 @@ def test_read_multiple_csv_nrows(self, request, nrows): # noqa: F811
111111
pandas_df = pandas_df.reset_index(drop=True)
112112
modin_df = modin_df.reset_index(drop=True)
113113

114-
# Glob does not guarantee ordering so we have to test both.
115114
df_equals(modin_df, pandas_df)
116115

117116

0 commit comments

Comments
 (0)