]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Try to fix transient refleaks in test_asynchat.
authorAntoine Pitrou <solipsis@pitrou.net>
Fri, 30 Oct 2009 17:55:21 +0000 (17:55 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Fri, 30 Oct 2009 17:55:21 +0000 (17:55 +0000)
Lib/test/test_asynchat.py

index 14528d8800857fe85b51420fd81db88d86d4deae..caa1117baa18b16f9fb22e064bea03af43380d2c 100644 (file)
@@ -92,10 +92,10 @@ class TestAsynchat(unittest.TestCase):
     usepoll = False
 
     def setUp (self):
-        pass
+        self._threads = test_support.threading_setup()
 
     def tearDown (self):
-        pass
+        test_support.threading_cleanup(*self._threads)
 
     def line_terminator_check(self, term, server_chunk):
         event = threading.Event()