@@ -125,11 +125,11 @@ def test_type_map_usage(self): |
|
|
125 |
125 |
con = sqlite.connect(":memory:",detect_types=sqlite.PARSE_DECLTYPES) |
126 |
126 |
con.execute("create table foo(bar timestamp)") |
127 |
127 |
con.execute("insert into foo(bar) values (?)", (datetime.datetime.now(),)) |
128 |
|
-con.execute(SELECT) |
|
128 |
+con.execute(SELECT).close() |
129 |
129 |
con.execute("drop table foo") |
130 |
130 |
con.execute("create table foo(bar integer)") |
131 |
131 |
con.execute("insert into foo(bar) values (5)") |
132 |
|
-con.execute(SELECT) |
|
132 |
+con.execute(SELECT).close() |
133 |
133 |
|
134 |
134 |
def test_bind_mutating_list(self): |
135 |
135 |
# Issue41662: Crash when mutate a list of parameters during iteration. |