Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit 2a1a26e

Browse files
Comment out arguments supported in Pandas version 0.24.0 or later
Tests in Python 3.4 fail with the following error: TypeError: to_sql() got an unexpected keyword argument 'method' https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.to_sql.html
1 parent 051f71c commit 2a1a26e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/test_sqlalchemy_athena.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,8 @@ def test_to_sql(self, engine, conn):
297297
schema=SCHEMA,
298298
index=False,
299299
if_exists="replace",
300-
method="multi",
300+
# Supported by Pandas version 0.24.0 or later.
301+
# method="multi",
301302
)
302303

303304
table = Table(table_name, MetaData(bind=engine), autoload=True)

0 commit comments

Comments
 (0)