mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
[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:
parent
2d458b16e6
commit
511c588f5d
1 changed files with 2 additions and 0 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue