diff options
author | CF Bolz-Tereick <cfbolz@gmx.de> | 2024-12-02 10:11:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-02 10:11:28 (GMT) |
commit | 2a373da7700cf928e0a5ce3998d19351a3565df4 (patch) | |
tree | fb4633552f31127d894ab88994feb69a35a5ef71 /Lib/test | |
parent | 1f8267b85dda655282922ba20df90d0ac6bea634 (diff) | |
download | cpython-2a373da7700cf928e0a5ce3998d19351a3565df4.zip cpython-2a373da7700cf928e0a5ce3998d19351a3565df4.tar.gz cpython-2a373da7700cf928e0a5ce3998d19351a3565df4.tar.bz2 |
add missing gc_collect() calls in sqlite3 tests (#127446)
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_sqlite3/test_regression.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_sqlite3/test_regression.py b/Lib/test/test_sqlite3/test_regression.py index db4e132..50cced3 100644 --- a/Lib/test/test_sqlite3/test_regression.py +++ b/Lib/test/test_sqlite3/test_regression.py @@ -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() |