Skip to content

Commit e3e4b96

Browse files
Dharin-shahevertlammerts
authored andcommitted
fix test
1 parent bfa84c1 commit e3e4b96

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/fast/test_insert.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,8 @@ def test_insert_with_schema(self, duckdb_cursor):
2727
res = duckdb_cursor.table("not_main.tbl").fetchall()
2828
assert len(res) == 10
2929

30-
duckdb_cursor.table("not_main.tbl").insert((42,))
30+
# Insert into a schema-qualified table should work; table has a single column from range(10)
31+
duckdb_cursor.table("not_main.tbl").insert([42])
32+
res2 = duckdb_cursor.table("not_main.tbl").fetchall()
33+
assert len(res2) == 11
34+
assert (42,) in res2

0 commit comments

Comments
 (0)