https://github.com/python/cpython/commit/511c588f5d5b9f8eb0e836652ca3ecf86518401e
commit: 511c588f5d5b9f8eb0e836652ca3ecf86518401e
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: Yhg1s <[email protected]>
date: 2024-12-02T15:19:21+01:00
summary:

[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 2a373da7700cf928e0a5ce3998d19351a3565df4)

Co-authored-by: CF Bolz-Tereick <[email protected]>

files:
M Lib/test/test_sqlite3/test_regression.py

diff --git a/Lib/test/test_sqlite3/test_regression.py 
b/Lib/test/test_sqlite3/test_regression.py
index db4e13222da9da..50cced3891d13a 100644
--- a/Lib/test/test_sqlite3/test_regression.py
+++ b/Lib/test/test_sqlite3/test_regression.py
@@ -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()
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to