diff --git a/py-polars/tests/unit/utils/test_deprecation.py b/py-polars/tests/unit/utils/test_deprecation.py index e54f2b01eed19..99bf8e4f45e49 100644 --- a/py-polars/tests/unit/utils/test_deprecation.py +++ b/py-polars/tests/unit/utils/test_deprecation.py @@ -122,3 +122,5 @@ def rolling_test(by: str | None = None, closed: str = "left") -> None: # ... regardless of the value rolling_test(by="b", closed="right") + + assert not recwarn