From 2b8abf84bd1dab953cea1995cbe220e8a53627ce Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Fri, 17 Feb 2023 19:17:06 +0100 Subject: [PATCH] Fail tests which cause an SQLAlchemy warning (#88327) Co-authored-by: J. Nick Koston --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 61e410c6bd7..64b22222086 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -234,6 +234,7 @@ norecursedirs = [ log_format = "%(asctime)s.%(msecs)03d %(levelname)-8s %(threadName)s %(name)s:%(filename)s:%(lineno)s %(message)s" log_date_format = "%Y-%m-%d %H:%M:%S" asyncio_mode = "auto" +filterwarnings = ["error::sqlalchemy.exc.SAWarning"] [tool.ruff] target-version = "py310"