@@ -259,7 +259,7 @@ def test_as_arrow(self, arrow_cursor):
259259 table = arrow_cursor .execute ("SELECT * FROM one_row" ).as_arrow ()
260260 assert table .shape [0 ] == 1
261261 assert table .shape [1 ] == 1
262- assert list (zip (* table .to_pydict ().values ())) == [(1 ,)]
262+ assert list (zip (* table .to_pydict ().values (), strict = False )) == [(1 ,)]
263263
264264 @pytest .mark .parametrize (
265265 "arrow_cursor" ,
@@ -270,7 +270,7 @@ def test_many_as_arrow(self, arrow_cursor):
270270 table = arrow_cursor .execute ("SELECT * FROM many_rows" ).as_arrow ()
271271 assert table .shape [0 ] == 10000
272272 assert table .shape [1 ] == 1
273- assert list (zip (* table .to_pydict ().values ())) == [(i ,) for i in range (10000 )]
273+ assert list (zip (* table .to_pydict ().values (), strict = False )) == [(i ,) for i in range (10000 )]
274274
275275 def test_complex_as_arrow (self , arrow_cursor ):
276276 table = arrow_cursor .execute (
@@ -323,7 +323,7 @@ def test_complex_as_arrow(self, arrow_cursor):
323323 pa .field ("col_decimal" , pa .string ()),
324324 ]
325325 )
326- assert list (zip (* table .to_pydict ().values ())) == [
326+ assert list (zip (* table .to_pydict ().values (), strict = False )) == [
327327 (
328328 True ,
329329 127 ,
@@ -406,7 +406,7 @@ def test_complex_unload_as_arrow(self, arrow_cursor):
406406 pa .field ("col_decimal" , pa .decimal128 (10 , 1 )),
407407 ]
408408 )
409- assert list (zip (* table .to_pydict ().values ())) == [
409+ assert list (zip (* table .to_pydict ().values (), strict = False )) == [
410410 (
411411 True ,
412412 127 ,
0 commit comments