From 643e85df48c87f082b16ca9e4ac02856130fbdb3 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Fri, 30 Oct 2009 17:55:21 +0000 Subject: Try to fix transient refleaks in test_asynchat. --- Lib/test/test_asynchat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_asynchat.py b/Lib/test/test_asynchat.py index 14528d8..caa1117 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() -- cgit v0.12