diff --git a/pandas/tests/window/test_expanding.py b/pandas/tests/window/test_expanding.py index bb8aa0b8f20e8..274b4b9830ec9 100644 --- a/pandas/tests/window/test_expanding.py +++ b/pandas/tests/window/test_expanding.py @@ -16,6 +16,9 @@ def test_doc_string(): df.expanding(2).sum() +@pytest.mark.filterwarnings( + "ignore:The `center` argument on `expanding` will be removed in the future" +) def test_constructor(which): # GH 12669