[3.13] add missing gc_collect() calls in sqlite3 tests (GH-127446) (#127500)

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 15:19:21 +01:00 committed by GitHub
parent 2d458b16e6
commit 511c588f5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -433,6 +433,7 @@ def test_table_lock_cursor_dealloc(self):
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 @@ def dup(v):
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()