From f727082b71900bb78284924ad7879c85c012c9c6 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sun, 30 Sep 2012 01:05:30 +0200 Subject: Speed up test_httpservers by avoiding a one-second cleanup wait after each test case. --- Lib/test/test_httpservers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_httpservers.py b/Lib/test/test_httpservers.py index d78ae9a..d9e4063 100644 --- a/Lib/test/test_httpservers.py +++ b/Lib/test/test_httpservers.py @@ -62,6 +62,7 @@ class BaseTestCase(unittest.TestCase): def tearDown(self): self.thread.stop() + self.thread = None os.environ.__exit__() support.threading_cleanup(*self._threads) -- cgit v0.12