Skip to content

Commit

Permalink
[Python][Dev] Fix up test to work with older version (#14505)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mytherin authored Oct 23, 2024
2 parents d79e66b + d5885c9 commit 909a0cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/pythonpkg/tests/fast/arrow/test_arrow_offsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -683,5 +683,6 @@ def test_bools_with_offset(self, duckdb_cursor):
record_batch = pa.RecordBatch.from_arrays([bool_array], schema=schema)

temp_record = record_batch.slice(4, 1)
res = duckdb_cursor.sql("select bools from temp_record").fetchall()
temp_record_reader = pa.RecordBatchReader.from_batches(temp_record.schema, [temp_record])
res = duckdb_cursor.sql("select bools from temp_record_reader").fetchall()
assert res == [(True,)]

0 comments on commit 909a0cb

Please sign in to comment.