summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_httpservers.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-09-29 23:05:30 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-09-29 23:05:30 (GMT)
commitf727082b71900bb78284924ad7879c85c012c9c6 (patch)
treea478370e3426ceee8d628866508ba327dc1815e1 /Lib/test/test_httpservers.py
parent93b5b33e65a4bf4a5b2a83e2aa4b0faf898a69ce (diff)
downloadcpython-f727082b71900bb78284924ad7879c85c012c9c6.zip
cpython-f727082b71900bb78284924ad7879c85c012c9c6.tar.gz
cpython-f727082b71900bb78284924ad7879c85c012c9c6.tar.bz2
Speed up test_httpservers by avoiding a one-second cleanup wait after each test case.
Diffstat (limited to 'Lib/test/test_httpservers.py')
-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 d78ae9a..d9e4063 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)