File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -1245,7 +1245,7 @@ def _query_iterator(
1245
1245
columns ,
1246
1246
index_col = index_col ,
1247
1247
coerce_float = coerce_float ,
1248
- parse_dates = parse_dates
1248
+ parse_dates = parse_dates ,
1249
1249
)
1250
1250
break
1251
1251
else :
Original file line number Diff line number Diff line change @@ -602,12 +602,13 @@ def test_read_sql_view(self):
602
602
self ._check_iris_loaded_frame (iris_frame )
603
603
604
604
def test_read_sql_with_chunksize_no_result (self ):
605
- with_batch = sql .read_sql_query ("SELECT * FROM iris_view WHERE SepalLength < 0.0" , self .conn , chunksize = 5 )
606
- without_batch = sql .read_sql_query ("SELECT * FROM iris_view WHERE SepalLength < 0.0" , self .conn )
607
- tm .assert_frame_equal (
608
- pd .concat (with_batch ),
609
- without_batch
605
+ with_batch = sql .read_sql_query (
606
+ "SELECT * FROM iris_view WHERE SepalLength < 0.0" , self .conn , chunksize = 5
610
607
)
608
+ without_batch = sql .read_sql_query (
609
+ "SELECT * FROM iris_view WHERE SepalLength < 0.0" , self .conn
610
+ )
611
+ tm .assert_frame_equal (pd .concat (with_batch ), without_batch )
611
612
612
613
def test_to_sql (self ):
613
614
sql .to_sql (self .test_frame1 , "test_frame1" , self .conn )
You can’t perform that action at this time.
0 commit comments