From 9e9e4c07cf8801b906941bd3ac8b107a67ad7b19 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Sun, 30 Aug 2015 10:06:59 +1000 Subject: [PATCH] close connections to remove warnings --- pymysql/tests/test_connection.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pymysql/tests/test_connection.py b/pymysql/tests/test_connection.py index f34f591..920f1e0 100644 --- a/pymysql/tests/test_connection.py +++ b/pymysql/tests/test_connection.py @@ -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