Skip to content

Commit

Permalink
fix(datasets): Update deprecated parameter in `pandas.DeltaTableDatas…
Browse files Browse the repository at this point in the history
…et` test (#722)

Update deprecated parameter in tests

Signed-off-by: Ankita Katiyar <[email protected]>
  • Loading branch information
ankatiyar authored Jun 10, 2024
1 parent 2e4430f commit 6b213c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kedro-datasets/tests/pandas/test_deltatable_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def test_overwrite_with_diff_schema(self, deltatable_dataset_from_path, dummy_df
with pytest.raises(DatasetError, match=pattern):
deltatable_dataset_from_path.save(new_df)

@pytest.mark.parametrize("save_args", [{"overwrite_schema": True}], indirect=True)
@pytest.mark.parametrize("save_args", [{"schema_mode": "overwrite"}], indirect=True)
def test_overwrite_both_data_and_schema(
self, deltatable_dataset_from_path, dummy_df
):
Expand Down

0 comments on commit 6b213c2

Please sign in to comment.