Skip to content

Commit

Permalink
Ignore the DeprecationWarning in test_days_ago (#23875)
Browse files Browse the repository at this point in the history
Co-authored-by: alexkru <[email protected]>
(cherry picked from commit eff697a)
  • Loading branch information
alexkruc authored and ephraimbuddy committed May 27, 2022
1 parent 01c998c commit 0682ac5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/utils/test_dates.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@


class TestDates(unittest.TestCase):
@pytest.mark.filterwarnings("ignore::DeprecationWarning")
def test_days_ago(self):
today = pendulum.today()
today_midnight = pendulum.instance(datetime.fromordinal(today.date().toordinal()))
Expand Down

0 comments on commit 0682ac5

Please sign in to comment.