summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-10-30 17:55:21 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-10-30 17:55:21 (GMT)
commit643e85df48c87f082b16ca9e4ac02856130fbdb3 (patch)
treeb7ddde6f6367ba2a1201f3ce25bf216798f9a251 /Lib/test
parent61d5f6ff7998e2dfdb21ec73d4aa2ef7a1f2e144 (diff)
downloadcpython-643e85df48c87f082b16ca9e4ac02856130fbdb3.zip
cpython-643e85df48c87f082b16ca9e4ac02856130fbdb3.tar.gz
cpython-643e85df48c87f082b16ca9e4ac02856130fbdb3.tar.bz2
Try to fix transient refleaks in test_asynchat.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_asynchat.py4
1 files 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()