Index: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/bisect_test_ordering.py |
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/bisect_test_ordering.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/bisect_test_ordering.py |
index f4fc025607cf1052a0956811207228baa79eb7c2..67d1996a4720817b0fab79e06613450e89016bc3 100644 |
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/bisect_test_ordering.py |
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/bisect_test_ordering.py |
@@ -82,7 +82,7 @@ class Bisector(object): |
def verify_non_flaky(self): |
print 'Verifying the failure is not flaky by running 10 times.' |
count_failures = 0 |
- for i in range(0, 10): |
+ for _ in range(0, 10): |
if self.test_bucket_list_fails(self.buckets): |
count_failures += 1 |
print 'Failed %d/10 times' % count_failures |
@@ -161,7 +161,7 @@ def main(argv): |
option_parser.add_option('--test-list', action='store', |
help='file that list tests to bisect. The last test in the list is the expected failure.', metavar='FILE'), |
option_parser.add_option('--debug', action='store_true', default=False, help='whether to use a debug build'), |
- options, args = option_parser.parse_args(argv) |
+ options, _ = option_parser.parse_args(argv) |
tests = open(options.test_list).read().strip().split('\n') |
bisector = Bisector(tests, is_debug=options.debug) |