Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 40ccea7

Browse files
committed
Silence altered execution state warnings from test_telnetlib involving threads.
1 parent a426554 commit 40ccea7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/test/test_telnetlib.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def setUp(self):
3939
def tearDown(self):
4040
self.evt.wait()
4141
self.thread.join()
42+
del self.thread # Clear out any dangling Thread objects.
4243

4344
def testBasic(self):
4445
# connects

0 commit comments

Comments
 (0)