@@ -2324,7 +2324,7 @@ def _check_roundtrip(self, frame):
2324
2324
frame2 ['Idx' ] = Index (lrange (len (frame2 ))) + 10
2325
2325
sql .to_sql (frame2 , name = 'test_table2' , con = self .conn , index = False )
2326
2326
result = sql .read_sql ("select * from test_table2" , self .conn ,
2327
- index_col = 'Idx' )
2327
+ index_col = 'Idx' )
2328
2328
expected = frame .copy ()
2329
2329
expected .index = Index (lrange (len (frame2 ))) + 10
2330
2330
expected .index .name = 'Idx'
@@ -2672,7 +2672,7 @@ def _check_roundtrip(self, frame):
2672
2672
sql .to_sql (frame2 , name = 'test_table2' ,
2673
2673
con = self .conn , flavor = 'mysql' , index = False )
2674
2674
result = sql .read_sql ("select * from test_table2" , self .conn ,
2675
- index_col = 'Idx' )
2675
+ index_col = 'Idx' )
2676
2676
expected = frame .copy ()
2677
2677
2678
2678
# HACK! Change this once indexes are handled properly.
@@ -2738,7 +2738,7 @@ def test_keyword_as_column_names(self):
2738
2738
_skip_if_no_pymysql ()
2739
2739
df = DataFrame ({'From' : np .ones (5 )})
2740
2740
sql .to_sql (df , con = self .conn , name = 'testkeywords' ,
2741
- if_exists = 'replace' , flavor = 'mysql' , index = False )
2741
+ if_exists = 'replace' , flavor = 'mysql' , index = False )
2742
2742
2743
2743
def test_if_exists (self ):
2744
2744
_skip_if_no_pymysql ()
0 commit comments