Skip to content

Commit

Permalink
test: Address spurious hypothesis test failure (#18434)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli authored Aug 28, 2024
1 parent f0ba999 commit a5b441a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions py-polars/polars/functions/lazy.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,6 @@ def cum_count(*columns: str, reverse: bool = False) -> Expr:
This function is syntactic sugar for `col(columns).cum_count()`.
If no arguments are passed, returns the cumulative count of a context.
Rows containing null values count towards the result.
Parameters
----------
*columns
Expand Down
2 changes: 1 addition & 1 deletion py-polars/tests/unit/datatypes/test_temporal.py
Original file line number Diff line number Diff line change
Expand Up @@ -2294,7 +2294,7 @@ def test_weekday_vs_stdlib_datetime(
) -> None:
result = (
pl.Series([value], dtype=pl.Datetime(time_unit))
.dt.replace_time_zone(time_zone, non_existent="null")
.dt.replace_time_zone(time_zone, non_existent="null", ambiguous="null")
.dt.weekday()
.item()
)
Expand Down

0 comments on commit a5b441a

Please sign in to comment.