From f47dedebac6b43c1678ba183305277423e5a24d9 Mon Sep 17 00:00:00 2001 From: MBrouns Date: Sat, 20 Jun 2020 14:41:56 +0200 Subject: [PATCH] ignore the deprecation warning in the constructor validation test --- pandas/tests/window/test_expanding.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pandas/tests/window/test_expanding.py b/pandas/tests/window/test_expanding.py index bb8aa0b8f20e8e..274b4b9830ec9e 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