| Index: build/android/test_runner.py
|
| diff --git a/build/android/test_runner.py b/build/android/test_runner.py
|
| index 204c81c0e6bbacd811d5d0af370fac233fbc2745..a3bc18dcd2b6fa53fe23d114f97daadf699c3076 100755
|
| --- a/build/android/test_runner.py
|
| +++ b/build/android/test_runner.py
|
| @@ -10,7 +10,6 @@ import argparse
|
| import collections
|
| import logging
|
| import os
|
| -import shutil
|
| import signal
|
| import sys
|
| import threading
|
| @@ -712,7 +711,7 @@ def _RunLinkerTests(args, devices):
|
|
|
| def _RunInstrumentationTests(args, devices):
|
| """Subcommand of RunTestsCommands which runs instrumentation tests."""
|
| - logging.info('_RunInstrumentationTests(%s, %s)' % (str(args), str(devices)))
|
| + logging.info('_RunInstrumentationTests(%s, %s)', str(args), str(devices))
|
|
|
| instrumentation_options = ProcessInstrumentationOptions(args)
|
|
|
| @@ -917,7 +916,7 @@ def _GetAttachedDevices(blacklist_file, test_device):
|
| return sorted(attached_devices)
|
|
|
|
|
| -def RunTestsCommand(args, parser):
|
| +def RunTestsCommand(args, parser): # pylint: disable=too-many-return-statements
|
| """Checks test type and dispatches to the appropriate function.
|
|
|
| Args:
|
| @@ -1039,7 +1038,7 @@ VALID_COMMANDS = {
|
| }
|
|
|
|
|
| -def DumpThreadStacks(_signal, _frame):
|
| +def DumpThreadStacks(_signal, _frame): # pylint: disable=unused-argument
|
| for thread in threading.enumerate():
|
| reraiser_thread.LogThreadStack(thread)
|
|
|
|
|