--- flask-sqlalchemy-2.5.1/tests/test_basic_app.py 2021-03-18 20:01:49.000000000 +0100 +++ flask-sqlalchemy-2.5.1.new/tests/test_basic_app.py 2023-04-25 18:38:36.548747920 +0200 @@ -53,6 +53,9 @@ def test_persist_selectable(app, db, Todo, recwarn): """ In SA 1.3, mapper.mapped_table should be replaced with mapper.persist_selectable """ + + import warnings + warnings.filterwarnings("ignore", category=DeprecationWarning) with app.test_request_context(): todo = Todo('Test 1', 'test') db.session.add(todo)