From 2dfa3f5db124e2ad1479518db483a9ec8dafa28e Mon Sep 17 00:00:00 2001 From: Chris Mayo Date: Wed, 4 Sep 2024 19:41:26 +0100 Subject: [PATCH] Filter unclosed database warning from sqlite3 --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 952e2c5e2..975a76d50 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -107,6 +107,9 @@ filterwarnings = [ # `flask.testing` accesses this attribute; remove when they have updated their code. "default:The '__version__' attribute is deprecated and will be removed in Werkzeug 3\\.1\\.:DeprecationWarning", + + # Python 3.13 sqlite3 module + "default: unclosed database in :ResourceWarning", ] [tool.coverage.run]