617132
From 1a4a106bf202fbd90371087260af2bbc0ef097c3 Mon Sep 17 00:00:00 2001
617132
From: Tomas Hrnciar <thrnciar@redhat.com>
617132
Date: Thu, 3 Jun 2021 15:20:04 +0200
617132
Subject: [PATCH] filter out DeprecationWarnings
617132
617132
---
617132
 alembic/testing/warnings.py | 11 +++++++++++
617132
 1 file changed, 11 insertions(+)
617132
617132
diff --git a/alembic/testing/warnings.py b/alembic/testing/warnings.py
617132
index d809dfe..ae8bcec 100644
617132
--- a/alembic/testing/warnings.py
617132
+++ b/alembic/testing/warnings.py
617132
@@ -30,3 +30,14 @@ def setup_filters():
617132
         warnings.filterwarnings(
617132
             "once", category=pytest.PytestDeprecationWarning
617132
         )
617132
+    warnings.filterwarnings(
617132
+        "ignore",
617132
+        category=DeprecationWarning,
617132
+        message="SelectableGroups dict interface is deprecated. Use select.",
617132
+    )
617132
+    warnings.filterwarnings(
617132
+        "ignore",
617132
+        category=DeprecationWarning,
617132
+        message="The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives",
617132
+    )
617132
+
617132
-- 
617132
2.31.1
617132