add missing gc_collect() calls in sqlite3 tests (#127446)

This commit is contained in:
CF Bolz-Tereick 2024-12-02 11:11:28 +01:00 committed by GitHub
parent 1f8267b85d
commit 2a373da770
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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()