Kaydet (Commit) 643e85df authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Try to fix transient refleaks in test_asynchat.

üst 61d5f6ff
...@@ -92,10 +92,10 @@ class TestAsynchat(unittest.TestCase): ...@@ -92,10 +92,10 @@ class TestAsynchat(unittest.TestCase):
usepoll = False usepoll = False
def setUp (self): def setUp (self):
pass self._threads = test_support.threading_setup()
def tearDown (self): def tearDown (self):
pass test_support.threading_cleanup(*self._threads)
def line_terminator_check(self, term, server_chunk): def line_terminator_check(self, term, server_chunk):
event = threading.Event() event = threading.Event()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment