Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions pandas/io/tests/test_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -2195,6 +2195,13 @@ def setUp(self):
"[pandas] in your system's mysql default file, "
"typically located at ~/.my.cnf or /etc/.my.cnf. ")

def tearDown(self):
from pymysql.err import Error
try:
self.db.close()
except Error:
pass

def test_basic(self):
_skip_if_no_pymysql()
frame = tm.makeTimeDataFrame()
Expand Down