[Python-checkins] cpython (3.2): Speed up test_httpservers by avoiding a one-second cleanup wait after each test

antoine.pitrou python-checkins at python.org
Sun Sep 30 01:11:15 CEST 2012


http://hg.python.org/cpython/rev/247d3e3c08ca
changeset: 79287:247d3e3c08ca
branch: 3.2
parent: 79271:d3288f1e1025
user: Antoine Pitrou <solipsis at pitrou.net>
date: Sun Sep 30 01:05:30 2012 +0200
summary:
 Speed up test_httpservers by avoiding a one-second cleanup wait after each test case.
files:
 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
--- a/Lib/test/test_httpservers.py
+++ b/Lib/test/test_httpservers.py
@@ -62,6 +62,7 @@
 
 def tearDown(self):
 self.thread.stop()
+ self.thread = None
 os.environ.__exit__()
 support.threading_cleanup(*self._threads)
 
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /