Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions tests/summary/test_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,30 +40,6 @@ def test_summary_dunder_methods(
assert fn(summary) == summary.format(pretty=pretty)


@pytest.mark.parametrize("show_perfect_column_matches", [True, False])
@pytest.mark.parametrize("show_top_column_changes", [True, False])
def test_summary_all_columns_join_cols(
show_perfect_column_matches: bool,
show_top_column_changes: bool,
) -> None:
# Arrange
df = pl.DataFrame({"id": ["a", "b", "c"]})
comp = compare_frames(
df,
df.filter(pl.col("id") == "a"),
primary_key=["id"],
)

# Act
summary = comp.summary(
show_perfect_column_matches=show_perfect_column_matches,
top_k_column_changes=3 if show_top_column_changes else 0,
)

# Assert
assert "No common non-primary key columns to compare" in str(summary)


@pytest.mark.parametrize(
"fraction, decimals, expected",
[
Expand Down
Loading