diff --git a/tests/flask_tests.py b/tests/flask_tests.py index 04b54777..46455e99 100644 --- a/tests/flask_tests.py +++ b/tests/flask_tests.py @@ -47,6 +47,10 @@ SECRET_KEY = 'devkey' def catch_warnings(): """Catch warnings in a with block in a list""" import warnings + + # make sure deprecation warnings are active in tests + warnings.simplefilter('default', category=DeprecationWarning) + filters = warnings.filters warnings.filters = filters[:] old_showwarning = warnings.showwarning