From: Brett Cannon Date: Fri, 5 Aug 2011 05:37:55 +0000 (-0700) Subject: Silence altered execution state warnings from test_telnetlib involving threads. X-Git-Tag: v3.3.0a1~1749 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=40ccea7e1ed77db4e8b56b639da8992afaf5e460;p=thirdparty%2FPython%2Fcpython.git Silence altered execution state warnings from test_telnetlib involving threads. --- diff --git a/Lib/test/test_telnetlib.py b/Lib/test/test_telnetlib.py index a78b938b86fb..efd91c7ed267 100644 --- a/Lib/test/test_telnetlib.py +++ b/Lib/test/test_telnetlib.py @@ -39,6 +39,7 @@ class GeneralTests(TestCase): def tearDown(self): self.evt.wait() self.thread.join() + del self.thread # Clear out any dangling Thread objects. def testBasic(self): # connects