mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
add missing gc_collect() calls in sqlite3 tests (#127446)
This commit is contained in:
parent
1f8267b85d
commit
2a373da770
1 changed files with 2 additions and 0 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue