diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-01-03 14:30:46 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-01-03 14:30:46 (GMT) |
commit | 1d5eb3425baeb363c71e6b8dcb57bec967682d7f (patch) | |
tree | 07370f375f2613ada3f3a66a08e0ad5c71a0a01c /Doc/library/unittest.rst | |
parent | a935e8ffc67bc68092ee30f67e066efaca984a4e (diff) | |
download | cpython-1d5eb3425baeb363c71e6b8dcb57bec967682d7f.zip cpython-1d5eb3425baeb363c71e6b8dcb57bec967682d7f.tar.gz cpython-1d5eb3425baeb363c71e6b8dcb57bec967682d7f.tar.bz2 |
test_socket: use context managers to close directly the socket
Fix ResourceWarning(unclosed socket) warnings. Patch written by Nadeem Vawda.
Diffstat (limited to 'Doc/library/unittest.rst')
0 files changed, 0 insertions, 0 deletions