Skip to content

Commit

Permalink
fix pylint error
Browse files Browse the repository at this point in the history
  • Loading branch information
natmokval committed Dec 28, 2023
1 parent e703817 commit d031fad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pandas/tests/tseries/offsets/test_week.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ def test_corner(self):
Week(weekday=-1)

def test_is_anchored(self):
msg = r"Week.is_anchored\(\) is deprecated and will be removed "
"in a future version, please use Week.n == 1 instead."
msg = r"Week.is_anchored\(\) is deprecated "

with tm.assert_produces_warning(FutureWarning, match=msg):
assert Week(weekday=0).is_anchored()
Expand Down

0 comments on commit d031fad

Please sign in to comment.