##// END OF EJS Templates
run-tests: work around the rename of xrange to range
Augie Fackler -
r25033:2bdd9e44 default
parent child Browse files
Show More
@@ -76,6 +76,9 b' except ImportError:'
76
76
77 processlock = threading.Lock()
77 processlock = threading.Lock()
78
78
79 if sys.version_info > (3, 0, 0):
80 xrange = range # we use xrange in one place, and we'd rather not use range
81
79 # subprocess._cleanup can race with any Popen.wait or Popen.poll on py24
82 # subprocess._cleanup can race with any Popen.wait or Popen.poll on py24
80 # http://bugs.python.org/issue1731717 for details. We shouldn't be producing
83 # http://bugs.python.org/issue1731717 for details. We shouldn't be producing
81 # zombies but it's pretty harmless even if we do.
84 # zombies but it's pretty harmless even if we do.
General Comments 0
You need to be logged in to leave comments. Login now