summaryrefslogtreecommitdiff
path: root/alembic/testing/warnings.py
diff options
context:
space:
mode:
Diffstat (limited to 'alembic/testing/warnings.py')
-rw-r--r--alembic/testing/warnings.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/alembic/testing/warnings.py b/alembic/testing/warnings.py
index 27ba706..7689e17 100644
--- a/alembic/testing/warnings.py
+++ b/alembic/testing/warnings.py
@@ -25,6 +25,11 @@ def setup_filters():
warnings.filterwarnings("error", category=sa_exc.SAWarning)
warnings.filterwarnings("error", category=DeprecationWarning)
+ # temporary to allow SQLAlchemy 1.1 to pass under python 3
+ warnings.filterwarnings(
+ "ignore", category=DeprecationWarning, message=".*formatargspec"
+ )
+
def assert_warnings(fn, warning_msgs, regex=False):
"""Assert that each of the given warnings are emitted by fn."""