From 2a373da7700cf928e0a5ce3998d19351a3565df4 Mon Sep 17 00:00:00 2001 From: CF Bolz-Tereick Date: Mon, 2 Dec 2024 11:11:28 +0100 Subject: add missing gc_collect() calls in sqlite3 tests (#127446) --- Lib/test/test_sqlite3/test_regression.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/test/test_sqlite3/test_regression.py b/Lib/test/test_sqlite3/test_regression.py index db4e132..50cced3 100644 --- a/Lib/test/test_sqlite3/test_regression.py +++ b/Lib/test/test_sqlite3/test_regression.py @@ -433,6 +433,7 @@ class RegressionTests(MemoryDatabaseMixin, unittest.TestCase): con.commit() cur = con.execute("select t from t") del cur + support.gc_collect() con.execute("drop table t") con.commit() @@ -448,6 +449,7 @@ class RegressionTests(MemoryDatabaseMixin, unittest.TestCase): con.create_function("dup", 1, dup) cur = con.execute("select dup(t) from t") del cur + support.gc_collect() con.execute("drop table t") con.commit() -- cgit v0.12