From: CF Bolz-Tereick Date: Mon, 2 Dec 2024 10:11:28 +0000 (+0100) Subject: add missing gc_collect() calls in sqlite3 tests (#127446) X-Git-Tag: v3.14.0a3~156 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a373da7700cf928e0a5ce3998d19351a3565df4;p=thirdparty%2FPython%2Fcpython.git add missing gc_collect() calls in sqlite3 tests (#127446) --- diff --git a/Lib/test/test_sqlite3/test_regression.py b/Lib/test/test_sqlite3/test_regression.py index db4e13222da9..50cced3891d1 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()