summaryrefslogtreecommitdiffstats
path: root/Doc/library/unittest.rst
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-01-03 14:30:46 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-01-03 14:30:46 (GMT)
commit1d5eb3425baeb363c71e6b8dcb57bec967682d7f (patch)
tree07370f375f2613ada3f3a66a08e0ad5c71a0a01c /Doc/library/unittest.rst
parenta935e8ffc67bc68092ee30f67e066efaca984a4e (diff)
downloadcpython-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