From: Brian Curtin Date: Sat, 6 Nov 2010 01:30:41 +0000 (+0000) Subject: Clear up ResourceWarnings X-Git-Tag: v3.2a4~117 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ecd34cbbb8823d2ce250887d55093a909b8cb94d;p=thirdparty%2FPython%2Fcpython.git Clear up ResourceWarnings --- diff --git a/Lib/test/test_telnetlib.py b/Lib/test/test_telnetlib.py index 6d7b6a671e0a..e4210c5cf46d 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):