Skip to content

Commit

Permalink
test limit
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-b-miller committed Jul 22, 2024
1 parent 58608ce commit e50d4d4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions python/cudf_polars/tests/test_drop_nulls.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,12 @@ def test_fill_null_with_strategy(null_data, strategy):

# Not yet exposed to python from rust
assert_ir_translation_raises(q, NotImplementedError)


@pytest.mark.parametrize("strategy", ["forward", "backward"])
@pytest.mark.parametrize("limit", [0, 1, 2])
def test_fill_null_with_limit(null_data, strategy, limit):
q = null_data.select(pl.col("a").fill_null(strategy=strategy, limit=limit))

# Not yet exposed to python from rust
assert_ir_translation_raises(q, NotImplementedError)

0 comments on commit e50d4d4

Please sign in to comment.