This is an automated email from the ASF dual-hosted git repository.

eladkal pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new eff697a5b8 Ignore the DeprecationWarning in test_days_ago (#23875)
eff697a5b8 is described below

commit eff697a5b89c74c995743f401f94d1171f39b08a
Author: Alex Kruchkov <[email protected]>
AuthorDate: Tue May 24 11:29:20 2022 +0300

    Ignore the DeprecationWarning in test_days_ago (#23875)
    
    Co-authored-by: alexkru <[email protected]>
---
 tests/utils/test_dates.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/utils/test_dates.py b/tests/utils/test_dates.py
index 6eb3b115cf..5709226307 100644
--- a/tests/utils/test_dates.py
+++ b/tests/utils/test_dates.py
@@ -28,6 +28,7 @@ from airflow.utils import dates, timezone
 
 
 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()))

Reply via email to