summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-09-29 23:09:59 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-09-29 23:09:59 (GMT)
commit04e21607d1aa8c1a93d2cf113e56bce2a81ae463 (patch)
tree888cb8714cfeb228ece401b07ee1e2136cf033bb /Lib
parent9f4e796742efa0116390fc0eacab87643d2fb0b5 (diff)
parent2a180207bae7786fea3e2b7264bf319a4218c1e6 (diff)
downloadcpython-04e21607d1aa8c1a93d2cf113e56bce2a81ae463.zip
cpython-04e21607d1aa8c1a93d2cf113e56bce2a81ae463.tar.gz
cpython-04e21607d1aa8c1a93d2cf113e56bce2a81ae463.tar.bz2
Speed up test_httpservers by avoiding a one-second cleanup wait after each test case.
Diffstat (limited to 'Lib')
-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)