Skip to content

Commit

Permalink
explicit close on socket in test_defer_connect
Browse files Browse the repository at this point in the history
  • Loading branch information
grooverdan committed Aug 30, 2015
1 parent 0590ce9 commit 5d3904b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pymysql/tests/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ def test_defer_connect(self):
self.assertFalse(c.open)
c.connect(sock)
c.close()
sock.close()

@unittest2.skipUnless(sys.version_info[0:2] >= (3,2), "required py-3.2")
def test_no_delay_warning(self):
Expand Down

0 comments on commit 5d3904b

Please sign in to comment.