From 2b03469e9e389397289f0d98004e8195c1bf79e7 Mon Sep 17 00:00:00 2001 From: Gopal Dirisala <39794726+dirrao@users.noreply.github.com> Date: Sun, 1 Sep 2024 06:58:12 +0530 Subject: [PATCH] Removed deprecation warning catching in test_db_cleanup (#41909) --- tests/utils/test_db_cleanup.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/utils/test_db_cleanup.py b/tests/utils/test_db_cleanup.py index edd52bab17e5..ba9ec35de7be 100644 --- a/tests/utils/test_db_cleanup.py +++ b/tests/utils/test_db_cleanup.py @@ -297,10 +297,6 @@ def test__skip_archive(self, skip_archive, expected_archives): assert len(session.query(model).all()) == 5 assert len(_get_archived_table_names(["dag_run"], session)) == expected_archives - @pytest.mark.filterwarnings( - # This test case might import some deprecated modules, ignore it - "ignore:This module is deprecated.*:airflow.exceptions.RemovedInAirflow3Warning" - ) def test_no_models_missing(self): """ 1. Verify that for all tables in `airflow.models`, we either have them enabled in db cleanup,