##// END OF EJS Templates
run-tests: drop subprocess _cleanup monkeypatch...
Augie Fackler -
r25156:c8725700 default
parent child Browse files
Show More
@@ -81,12 +81,6 b' processlock = threading.Lock()'
81 if sys.version_info > (3, 0, 0):
81 if sys.version_info > (3, 0, 0):
82 xrange = range # we use xrange in one place, and we'd rather not use range
82 xrange = range # we use xrange in one place, and we'd rather not use range
83
83
84 # subprocess._cleanup can race with any Popen.wait or Popen.poll on py24
85 # http://bugs.python.org/issue1731717 for details. We shouldn't be producing
86 # zombies but it's pretty harmless even if we do.
87 if sys.version_info < (2, 5):
88 subprocess._cleanup = lambda: None
89
90 def checkportisavailable(port):
84 def checkportisavailable(port):
91 """return true if a port seems free to bind on localhost"""
85 """return true if a port seems free to bind on localhost"""
92 try:
86 try:
General Comments 0
You need to be logged in to leave comments. Login now