Skip to content

Commit 1e3f589

Browse files
author
Erlend E. Aasland
committed
clean up test_trace_callback_content explicitly
1 parent 6cb435b commit 1e3f589

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Lib/sqlite3/test/hooks.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,11 @@ def trace(statement):
261261
cur.execute(queries[1])
262262
self.assertEqual(traced_statements, queries)
263263

264+
con1.close()
265+
con2.close()
266+
import gc
267+
gc.collect()
268+
264269

265270
def suite():
266271
tests = [

0 commit comments

Comments
 (0)