diff --git a/Lib/test/test_asynchat.py b/Lib/test/test_asynchat.py index 14528d88008..caa1117baa1 100644 --- a/Lib/test/test_asynchat.py +++ b/Lib/test/test_asynchat.py @@ -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()