summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_telnetlib.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2011-08-05 05:37:55 (GMT)
committerBrett Cannon <brett@python.org>2011-08-05 05:37:55 (GMT)
commit40ccea7e1ed77db4e8b56b639da8992afaf5e460 (patch)
tree258cd25fac496acce64904238016ad978804de9d /Lib/test/test_telnetlib.py
parenta4265546f9d457ff61e7e4d3fb6d6b3cc54a09d2 (diff)
downloadcpython-40ccea7e1ed77db4e8b56b639da8992afaf5e460.zip
cpython-40ccea7e1ed77db4e8b56b639da8992afaf5e460.tar.gz
cpython-40ccea7e1ed77db4e8b56b639da8992afaf5e460.tar.bz2
Silence altered execution state warnings from test_telnetlib involving threads.
Diffstat (limited to 'Lib/test/test_telnetlib.py')
-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 a78b938..efd91c7 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