summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorBrian Curtin <brian.curtin@gmail.com>2010-11-06 01:30:41 (GMT)
committerBrian Curtin <brian.curtin@gmail.com>2010-11-06 01:30:41 (GMT)
commitecd34cbbb8823d2ce250887d55093a909b8cb94d (patch)
tree2cc9570b00958d113b14b5df55b41533f4c856ad /Lib/test
parent5fd730e0fbfe2b655722d89626075d5b7f2d77e7 (diff)
downloadcpython-ecd34cbbb8823d2ce250887d55093a909b8cb94d.zip
cpython-ecd34cbbb8823d2ce250887d55093a909b8cb94d.tar.gz
cpython-ecd34cbbb8823d2ce250887d55093a909b8cb94d.tar.bz2
Clear up ResourceWarnings
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_telnetlib.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_telnetlib.py b/Lib/test/test_telnetlib.py
index 6d7b6a6..e4210c5 100644
--- a/Lib/test/test_telnetlib.py
+++ b/Lib/test/test_telnetlib.py
@@ -19,6 +19,7 @@ def server(evt, serv):
pass
finally:
serv.close()
+ conn.close()
evt.set()
class GeneralTests(TestCase):