Index: build/android/pylib/gtest/setup.py |
diff --git a/build/android/pylib/gtest/setup.py b/build/android/pylib/gtest/setup.py |
index f114c3cdde47cb9e14a5f870be65604aea31b545..19482999b8d84d87a5fd2a90297e691585009406 100644 |
--- a/build/android/pylib/gtest/setup.py |
+++ b/build/android/pylib/gtest/setup.py |
@@ -94,6 +94,7 @@ def _GetTests(test_options, test_package, devices): |
'gtest_list_tests', base_test_result.ResultType.PASS) |
self.test_list = [] |
+ # pylint: disable=unused-argument |
def TestListerRunnerFactory(device, _shard_index): |
class TestListerRunner(test_runner.TestRunner): |
def RunTest(self, _test): |
@@ -105,7 +106,7 @@ def _GetTests(test_options, test_package, devices): |
return results, None |
return TestListerRunner(test_options, device, test_package) |
- results, _no_retry = test_dispatcher.RunTests( |
+ results, _ = test_dispatcher.RunTests( |
['gtest_list_tests'], TestListerRunnerFactory, devices) |
tests = [] |
for r in results.GetAll(): |
@@ -204,6 +205,7 @@ def Setup(test_options, devices): |
tests = _GetTests(test_options, test_package, devices) |
# Constructs a new TestRunner with the current options. |
+ # pylint: disable=unused-argument |
def TestRunnerFactory(device, _shard_index): |
return test_runner.TestRunner( |
test_options, |