mirror of
https://github.com/python/cpython.git
synced 2025-10-03 13:45:29 +00:00
Silence altered execution state warnings from test_telnetlib involving threads.
This commit is contained in:
parent
a4265546f9
commit
40ccea7e1e
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ class GeneralTests(TestCase):
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
self.evt.wait()
|
self.evt.wait()
|
||||||
self.thread.join()
|
self.thread.join()
|
||||||
|
del self.thread # Clear out any dangling Thread objects.
|
||||||
|
|
||||||
def testBasic(self):
|
def testBasic(self):
|
||||||
# connects
|
# connects
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue