We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 961b8d4 commit 13940c7Copy full SHA for 13940c7
pandas/tests/io/test_sql.py
@@ -263,7 +263,8 @@ def _get_all_tables(self):
263
return table_list
264
265
def _close_conn(self):
266
- pass
+ # https://docs.sqlalchemy.org/en/13/core/connections.html#engine-disposal
267
+ self.conn.dispose()
268
269
270
class PandasSQLTest:
@@ -1242,7 +1243,7 @@ class _TestSQLAlchemy(SQLAlchemyMixIn, PandasSQLTest):
1242
1243
def setup_class(cls):
1244
cls.setup_import()
1245
cls.setup_driver()
- conn = cls.connect()
1246
+ conn = cls.conn = cls.connect()
1247
conn.connect()
1248
1249
def load_test_data_and_sql(self):
0 commit comments