diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-09-29 23:08:55 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-09-29 23:08:55 (GMT) |
commit | 2a180207bae7786fea3e2b7264bf319a4218c1e6 (patch) | |
tree | 59a797e96f3a956be9e3ea98c9504a0fa02ae452 | |
parent | 77ac351bbf83d57773964e1496e62cffea5ce22d (diff) | |
parent | f727082b71900bb78284924ad7879c85c012c9c6 (diff) | |
download | cpython-2a180207bae7786fea3e2b7264bf319a4218c1e6.zip cpython-2a180207bae7786fea3e2b7264bf319a4218c1e6.tar.gz cpython-2a180207bae7786fea3e2b7264bf319a4218c1e6.tar.bz2 |
Speed up test_httpservers by avoiding a one-second cleanup wait after each test case.
-rw-r--r-- | Lib/test/test_httpservers.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_httpservers.py b/Lib/test/test_httpservers.py index 171361f..75133c9 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) |