This is an automated email from the ASF dual-hosted git repository.
potiuk 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 2b03469e9e Removed deprecation warning catching in test_db_cleanup
(#41909)
2b03469e9e is described below
commit 2b03469e9e389397289f0d98004e8195c1bf79e7
Author: Gopal Dirisala <[email protected]>
AuthorDate: Sun Sep 1 06:58:12 2024 +0530
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 edd52bab17..ba9ec35de7 100644
--- a/tests/utils/test_db_cleanup.py
+++ b/tests/utils/test_db_cleanup.py
@@ -297,10 +297,6 @@ class TestDBCleanup:
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,