Skip to content

Commit

Permalink
test(python): Fix failing test (#13171)
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Dec 21, 2023
1 parent d6698cf commit 5e3ffd2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions py-polars/tests/parametric/test_groupby_rolling.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ def test_rolling_aggs(
aggregation: str,
) -> None:
assume(window_size != "")

# Testing logic can be faulty when window is more precise than time unit
# https://github.com/pola-rs/polars/issues/11754
assume(not (time_unit == "ms" and "us" in window_size))

dataframe = data.draw(
dataframes(
[
Expand Down

0 comments on commit 5e3ffd2

Please sign in to comment.