[3.12] add missing gc_collect() calls in sqlite3 tests (GH-127446) (#127501)

add missing gc_collect() calls in sqlite3 tests (GH-127446)
(cherry picked from commit 2a373da770)

Co-authored-by: CF Bolz-Tereick <cfbolz@gmx.de>
This commit is contained in:
Miss Islington (bot) 2024-12-02 14:57:51 +01:00 committed by GitHub
parent 9295a1d033
commit 97fd09fba1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -442,6 +442,7 @@ class RegressionTests(unittest.TestCase):
con.commit()
cur = con.execute("select t from t")
del cur
support.gc_collect()
con.execute("drop table t")
con.commit()
@ -457,6 +458,7 @@ class RegressionTests(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()