Skip to content

Commit 085313c

Browse files
committed
ENH: to_sql() add parameter "method". Fix unit-test (pandas-dev#8953)
1 parent 1e5d1cc commit 085313c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/io/test_sql.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ def _read_sql_iris_named_parameter(self):
372372
iris_frame = self.pandasSQL.read_query(query, params=params)
373373
self._check_iris_loaded_frame(iris_frame)
374374

375-
def _to_sql(self, method=None):
375+
def _to_sql(self, method='default'):
376376
self.drop_table('test_frame1')
377377

378378
self.pandasSQL.to_sql(self.test_frame1, 'test_frame1', method=method)

0 commit comments

Comments
 (0)