[Python-checkins] cpython: Silence altered execution state warnings from test_telnetlib involving threads.
brett.cannon
python-checkins at python.org
Fri Aug 5 07:44:27 CEST 2011
http://hg.python.org/cpython/rev/e86a12167cf5
changeset: 71744:e86a12167cf5
user: Brett Cannon <brett at python.org>
date: Thu Aug 04 22:37:55 2011 -0700
summary:
Silence altered execution state warnings from test_telnetlib involving threads.
files:
Lib/test/test_telnetlib.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Lib/test/test_telnetlib.py b/Lib/test/test_telnetlib.py
--- a/Lib/test/test_telnetlib.py
+++ b/Lib/test/test_telnetlib.py
@@ -39,6 +39,7 @@
def tearDown(self):
self.evt.wait()
self.thread.join()
+ del self.thread # Clear out any dangling Thread objects.
def testBasic(self):
# connects
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list