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