close connections to remove warnings

This commit is contained in:
Daniel Black
2015-08-30 10:06:59 +10:00
parent 09a416a9e0
commit 9e9e4c07cf

View File

@@ -126,6 +126,7 @@ class TestConnection(base.PyMySQLTestCase):
c = pymysql.connect(defer_connect=True, **d)
self.assertFalse(c.open)
c.connect(sock)
c.close()
# A custom type and function to escape it