Mercurial > hg
changeset 25156:c87257002598
run-tests: drop subprocess _cleanup monkeypatch
This was working around a defect in subprocess in Python 2.5, which we
no longer need to worry about.
author | Augie Fackler <augie@google.com> |
---|---|
date | Sun, 17 May 2015 21:15:45 -0400 |
parents | 6ab5a1c9ea3c |
children | a8d22895a575 |
files | tests/run-tests.py |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/run-tests.py Sun May 17 21:15:04 2015 -0400 +++ b/tests/run-tests.py Sun May 17 21:15:45 2015 -0400 @@ -81,12 +81,6 @@ if sys.version_info > (3, 0, 0): xrange = range # we use xrange in one place, and we'd rather not use range -# subprocess._cleanup can race with any Popen.wait or Popen.poll on py24 -# http://bugs.python.org/issue1731717 for details. We shouldn't be producing -# zombies but it's pretty harmless even if we do. -if sys.version_info < (2, 5): - subprocess._cleanup = lambda: None - def checkportisavailable(port): """return true if a port seems free to bind on localhost""" try: