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

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

Issue 1198823004: Update perf page_set to use story_set (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/perf/replace.sh ('k') | tools/telemetry/telemetry/page/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/benchmark.py
diff --git a/tools/telemetry/telemetry/benchmark.py b/tools/telemetry/telemetry/benchmark.py
index 7f3f1aefb0dc5ed6ac1420da3ca693b912cdfe32..a8cfe5ee0cb59a5a06ba7a0db0226ecf0ba61db1 100644
--- a/tools/telemetry/telemetry/benchmark.py
+++ b/tools/telemetry/telemetry/benchmark.py
@@ -250,8 +250,6 @@ class Benchmark(command_line.Command):
"""
if not hasattr(self, 'page_set'):
raise NotImplementedError('This test has no "page_set" attribute.')
- if not issubclass(self.page_set, page_set.PageSet):
- raise TypeError('"%s" is not a PageSet.' % self.page_set.__name__)
return self.page_set()
def CreateStorySet(self, options):
« no previous file with comments | « tools/perf/replace.sh ('k') | tools/telemetry/telemetry/page/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698