From 085313c4515666a40b792a4133efd292acfb34b4 Mon Sep 17 00:00:00 2001 From: Eduardo Schettino Date: Mon, 11 Jun 2018 11:08:32 +0800 Subject: [PATCH] ENH: to_sql() add parameter "method". Fix unit-test (#8953) --- pandas/tests/io/test_sql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/tests/io/test_sql.py b/pandas/tests/io/test_sql.py index 22844f568eded..1311cf50bc7b7 100644 --- a/pandas/tests/io/test_sql.py +++ b/pandas/tests/io/test_sql.py @@ -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)