https://github.com/python/cpython/commit/2a373da7700cf928e0a5ce3998d19351a3565df4
commit: 2a373da7700cf928e0a5ce3998d19351a3565df4
branch: main
author: CF Bolz-Tereick <[email protected]>
committer: cfbolz <[email protected]>
date: 2024-12-02T11:11:28+01:00
summary:
add missing gc_collect() calls in sqlite3 tests (#127446)
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]