From bc1a4402d585f96c31e6cc2930f8e976addd1152 Mon Sep 17 00:00:00 2001 From: torext Date: Fri, 15 Sep 2023 08:56:17 +0200 Subject: [PATCH] Add issue number and removal TODO --- pandas/tests/plotting/frame/test_frame.py | 2 ++ pandas/tests/plotting/test_series.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/pandas/tests/plotting/frame/test_frame.py b/pandas/tests/plotting/frame/test_frame.py index 4cb0ea286539b5..2ef1f065f603df 100644 --- a/pandas/tests/plotting/frame/test_frame.py +++ b/pandas/tests/plotting/frame/test_frame.py @@ -2489,6 +2489,8 @@ def test_secondary_y(self, secondary_y): @pytest.mark.slow def test_plot_no_warning(self): + # GH 55138 + # TODO(3.0): this can be removed once Period[B] deprecation is enforced df = tm.makeTimeDataFrame() with tm.assert_produces_warning(False): _ = df.plot() diff --git a/pandas/tests/plotting/test_series.py b/pandas/tests/plotting/test_series.py index 39f49eadd59d36..6719e39612f5d9 100644 --- a/pandas/tests/plotting/test_series.py +++ b/pandas/tests/plotting/test_series.py @@ -976,5 +976,7 @@ def test_series_none_color(self): @pytest.mark.slow def test_plot_no_warning(self, ts): + # GH 55138 + # TODO(3.0): this can be removed once Period[B] deprecation is enforced with tm.assert_produces_warning(False): _ = ts.plot()