Index: tools/telemetry/telemetry/page/page_test_runner.py |
diff --git a/tools/telemetry/telemetry/page/page_test_runner.py b/tools/telemetry/telemetry/page/page_test_runner.py |
index 33ca9552fe0fe6b25e12c10d4433c18eea6f2a7a..9352139810015278ee9a99d4bb2ef4638c51bcc6 100644 |
--- a/tools/telemetry/telemetry/page/page_test_runner.py |
+++ b/tools/telemetry/telemetry/page/page_test_runner.py |
@@ -62,20 +62,12 @@ class PageTestRunner(object): |
test_name or None |
""" |
test_name = None |
- for arg in [self.GetModernizedTestName(a) for a in args]: |
+ for arg in args: |
if arg in test_constructors: |
test_name = arg |
return test_name |
- def GetModernizedTestName(self, arg): |
- """Sometimes tests change names but buildbots keep calling the old name. |
- |
- If arg matches an old test name, return the new test name instead. |
- Otherwise, return the arg. |
- """ |
- return arg |
- |
def GetPageSet(self, test, env): |
ps = test.CreatePageSet(self._args, self._options) |
if ps: |