Speed up test_httpservers by avoiding a one-second cleanup wait after each test case.

This commit is contained in:
Antoine Pitrou 2012-09-30 01:09:59 +02:00
commit 04e21607d1
1 changed files with 1 additions and 0 deletions

View File

@ -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)