From 90907904b272b8dd9aeeac17c38660242c751023 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Mon, 6 Jan 2025 17:33:57 +0000 Subject: [PATCH] Ignore unclosed sqlite connection This matches https://github.com/ipython/ipykernel/pull/1277/commits/947894b8c0f52cc1ecbfb1600f27112ee1632445, and there doesn't seem to be a sensible alternative at the moment. Fixes: #1379 --- CHANGES.rst | 1 + pyproject.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index 7ac59691..bf68b885 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -2,6 +2,7 @@ Version 3.1.2 ------------- - Fix issue with calling ``repr()`` on ``SQLAlchemy`` instance with no default engine. :issue:`1295` +- Ignore unclosed sqlite connection in tests. :issue:`1379` Version 3.1.1 diff --git a/pyproject.toml b/pyproject.toml index be594b18..2c0ab18c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,6 +51,7 @@ exclude = [ testpaths = ["tests"] filterwarnings = [ "error", + "ignore:unclosed database in