]> granicus.if.org Git - python/commit
Make sure file object is close if socket.create_connection fails (GH-11334)
authorPablo Galindo <Pablogsal@gmail.com>
Sat, 29 Dec 2018 01:42:16 +0000 (01:42 +0000)
committerGitHub <noreply@github.com>
Sat, 29 Dec 2018 01:42:16 +0000 (01:42 +0000)
commit1f511e1af060e98fb789319a96076c06e7f98135
tree42e1290e446d69815b65dc95831cd681db345e59
parent5471420faa84519530f29b08f2b042b2288e3e96
Make sure file object is close if socket.create_connection fails (GH-11334)

The problem affects _testWithTimeoutTriggeredSend in test_socket.py.
Lib/test/test_socket.py