Skip to content

Commit

Permalink
pre-commit whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
BWMac committed Sep 20, 2024
1 parent 51be4b4 commit ffc6ac8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/unit/synapseclient/unit_test_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def test_csv_to_pandas_df_no_kwargs():
lineterminator=None,
)

# AND I expect the returned DataFrame to be
# AND I expect the returned DataFrame to be
# the same as the original DataFrame (file)
pd.testing.assert_frame_equal(df, expected_df)

Expand Down Expand Up @@ -356,7 +356,7 @@ def test_csv_to_pandas_df_calls_convert_date_cols():
dtype=None,
)

# THEN I expect _convert_df_date_cols_to_datetime to be
# THEN I expect _convert_df_date_cols_to_datetime to be
# called with the expected DataFrame and date columns
mock_convert_dates.assert_called_once_with(expected_df, ["date_col"])

Expand Down Expand Up @@ -409,7 +409,7 @@ def test_csv_to_pandas_df_handles_row_id_and_version():
}
)

# AND a pandas DataFrame (expected result)
# AND a pandas DataFrame (expected result)
# with the ROW_ID and ROW_VERSION columns removed
expected_final_df = pd.DataFrame(
{"col1": ["a", "b", "c"], "col2": [10, 20, 30]}, index=["1_1", "2_1", "3_2"]
Expand Down Expand Up @@ -437,7 +437,7 @@ def test_csv_to_pandas_df_handles_row_id_and_version():
# THEN I expect row_labels_from_id_and_version to be called once
mock_row_labels.assert_called_once()

# AND I expect the returned DataFrame to match the expected
# AND I expect the returned DataFrame to match the expected
# DataFrame with the ROW_ID and ROW_VERSION columns removed
pd.testing.assert_frame_equal(result_df, expected_final_df)

Expand Down

0 comments on commit ffc6ac8

Please sign in to comment.