diff --git a/iotdb-client/client-py/iotdb/sqlalchemy/tests/test_dialect.py b/iotdb-client/client-py/iotdb/sqlalchemy/tests/test_dialect.py index 49a0839a6c25..085e4987eca2 100644 --- a/iotdb-client/client-py/iotdb/sqlalchemy/tests/test_dialect.py +++ b/iotdb-client/client-py/iotdb/sqlalchemy/tests/test_dialect.py @@ -53,7 +53,7 @@ def test_dialect(): registry.register("iotdb", "iotdb.sqlalchemy.IoTDBDialect", "IoTDBDialect") eng = create_engine(url) - with Session(engine=eng) as session: + with Session(eng) as session: session.execute("create database root.cursor") session.execute("create database root.cursor_s1") session.execute(