Skip to content

Commit

Permalink
FEAT-modin-project#2451: Fix outdated documentation in tests
Browse files Browse the repository at this point in the history
Signed-off-by: William Ma <[email protected]>
  • Loading branch information
williamma12 committed Feb 3, 2021
1 parent 1713bc5 commit 975a80d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modin/experimental/pandas/test/test_io_exp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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])
Expand All @@ -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)


Expand Down

0 comments on commit 975a80d

Please sign in to comment.