Skip to content

Commit

Permalink
ENH: to_sql() add parameter "method". Fix unit-test (pandas-dev#8953)
Browse files Browse the repository at this point in the history
  • Loading branch information
schettino72 committed Jun 11, 2018
1 parent 1e5d1cc commit 085313c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/tests/io/test_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def _read_sql_iris_named_parameter(self):
iris_frame = self.pandasSQL.read_query(query, params=params)
self._check_iris_loaded_frame(iris_frame)

def _to_sql(self, method=None):
def _to_sql(self, method='default'):
self.drop_table('test_frame1')

self.pandasSQL.to_sql(self.test_frame1, 'test_frame1', method=method)
Expand Down

0 comments on commit 085313c

Please sign in to comment.