]> granicus.if.org Git - python/commit
test_urllib2_localnet: clear server variable (#2510)
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 30 Jun 2017 15:04:48 +0000 (17:04 +0200)
committerGitHub <noreply@github.com>
Fri, 30 Jun 2017 15:04:48 +0000 (17:04 +0200)
commit45dba3af50cfa359dc2e40abe4306bd0b11d1315
tree0569cc0618e0657c5ee4a121ed5b933207d52d38
parent00561189fb5d85826cfc907e3a72361e1a39a591
test_urllib2_localnet: clear server variable (#2510)

Set the server attribute to None in cleanup to avoid dangling
threads.
Lib/test/test_urllib2_localnet.py