# HG changeset patch # User Matt Mackall # Date 1369686259 18000 # Node ID 9e9c407e0d1ff481ec6c2e0badc82829e9230aad # Parent 6857f53456f261fd035a2df823032dc0798b059e run-tests: remove some unnecessary globals diff -r 6857f53456f2 -r 9e9c407e0d1f tests/run-tests.py --- a/tests/run-tests.py Fri May 24 14:30:43 2013 -0500 +++ b/tests/run-tests.py Mon May 27 15:24:19 2013 -0500 @@ -836,8 +836,6 @@ def runone(options, test): '''returns a result element: (code, test, msg)''' - global iolock - def skip(msg): if options.verbose: log("\nSkipping %s: %s" % (testpath, msg)) @@ -1152,8 +1150,6 @@ iolock = threading.Lock() def runqueue(options, tests): - global results, resultslock - for test in tests: code, test, msg = runone(options, test) resultslock.acquire()