Skip to content

Commit

Permalink
pyfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
coastalwhite committed Oct 16, 2024
1 parent 06ed71a commit 9696e5b
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions py-polars/tests/unit/io/test_parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -1993,7 +1993,9 @@ def test_nested_nonnullable_19158() -> None:


@pytest.mark.parametrize("parallel", ["prefiltered", "columns", "row_groups", "auto"])
def test_conserve_sortedness(monkeypatch: Any, capfd: Any, parallel: pl.ParallelStrategy) -> None:
def test_conserve_sortedness(
monkeypatch: Any, capfd: Any, parallel: pl.ParallelStrategy
) -> None:
f = io.BytesIO()

df = pl.DataFrame(
Expand Down Expand Up @@ -2029,5 +2031,11 @@ def test_conserve_sortedness(monkeypatch: Any, capfd: Any, parallel: pl.Parallel
# @NOTE: We don't conserve sortedness for anything except integers at the
# moment.
assert captured.count("Parquet conserved SortingColumn for column chunk of") == 2
assert "Parquet conserved SortingColumn for column chunk of 'a' to Ascending" in captured
assert "Parquet conserved SortingColumn for column chunk of 'c' to Descending" in captured
assert (
"Parquet conserved SortingColumn for column chunk of 'a' to Ascending"
in captured
)
assert (
"Parquet conserved SortingColumn for column chunk of 'c' to Descending"
in captured
)

0 comments on commit 9696e5b

Please sign in to comment.