From 223f8e21898cdc610d3003582e55b0cbaec9d1e7 Mon Sep 17 00:00:00 2001 From: Oliver Mannion <125105+tekumara@users.noreply.github.com> Date: Sun, 1 Sep 2024 22:59:56 +1000 Subject: [PATCH] feat: close duckdb connection because we create a connection per test, we should clean these up to avoid unbounded growth --- fakesnow/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fakesnow/__init__.py b/fakesnow/__init__.py index eced305..09980a3 100644 --- a/fakesnow/__init__.py +++ b/fakesnow/__init__.py @@ -90,3 +90,4 @@ def patch( yield None finally: stack.close() + fs.duck_conn.close()