Skip to content

Commit 9e9e4c0

Browse files
committed
close connections to remove warnings
1 parent 09a416a commit 9e9e4c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pymysql/tests/test_connection.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ def test_defer_connect(self):
126126
c = pymysql.connect(defer_connect=True, **d)
127127
self.assertFalse(c.open)
128128
c.connect(sock)
129+
c.close()
129130

130131

131132
# A custom type and function to escape it

0 commit comments

Comments
 (0)