summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-09-29 23:08:55 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-09-29 23:08:55 (GMT)
commit2a180207bae7786fea3e2b7264bf319a4218c1e6 (patch)
tree59a797e96f3a956be9e3ea98c9504a0fa02ae452
parent77ac351bbf83d57773964e1496e62cffea5ce22d (diff)
parentf727082b71900bb78284924ad7879c85c012c9c6 (diff)
downloadcpython-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.py1
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)