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]>
  • Loading branch information
alexkruc and alexkruWix authored May 24, 2022
1 parent b83cc9b commit eff697a
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 eff697a

Please sign in to comment.