Skip to content

Commit

Permalink
Add issue number and removal TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
torext authored and torext committed Sep 28, 2023
1 parent adeead1 commit bc1a440
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pandas/tests/plotting/frame/test_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 2 additions & 0 deletions pandas/tests/plotting/test_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit bc1a440

Please sign in to comment.