Commit f727082b authored by Antoine Pitrou's avatar Antoine Pitrou

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

parent 93b5b33e
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment