Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Nov 11, 2024
1 parent 5d83109 commit 632509b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py-polars/tests/unit/operations/test_top_k.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ def test_top_k_df() -> None:
expected2 = [5, 4, 1, None]
assert (
df.sort("a", descending=True, nulls_last=True).limit(4).collect()["a"].to_list()
== expected
== expected2
)
assert df.top_k(4, by="a").collect()["a"].to_list() == expected2
expected2 = [1, 4, 5, None]
Expand Down

0 comments on commit 632509b

Please sign in to comment.