Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(416)

Unified Diff: tools/telemetry/telemetry/benchmark_unittest.py

Issue 1103553002: Reland Reenable unused-import lint check for telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/telemetry/telemetry/benchmark_runner.py ('k') | tools/telemetry/telemetry/core/_bitmap.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/benchmark_unittest.py
diff --git a/tools/telemetry/telemetry/benchmark_unittest.py b/tools/telemetry/telemetry/benchmark_unittest.py
index 3917d8b6bb5502bed6872a84ab9c2c61f17851f9..488706ff3a05aeb33e155b4a4f418ac7e502b635 100644
--- a/tools/telemetry/telemetry/benchmark_unittest.py
+++ b/tools/telemetry/telemetry/benchmark_unittest.py
@@ -60,7 +60,7 @@ class BenchmarkTest(unittest.TestCase):
def testPageTestWithCompatibleUserStory(self):
original_run_fn = user_story_runner.Run
was_run = [False]
- def RunStub(*_, **__):
+ def RunStub(*_arg, **_kwargs):
was_run[0] = True
user_story_runner.Run = RunStub
« no previous file with comments | « tools/telemetry/telemetry/benchmark_runner.py ('k') | tools/telemetry/telemetry/core/_bitmap.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698