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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/system/profiler_unittest.py

Issue 1839193004: Run auto-formatter (autopep8) on webkitpy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 9 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
Index: third_party/WebKit/Tools/Scripts/webkitpy/common/system/profiler_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/profiler_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/profiler_unittest.py
index 2489d1d7df3281b1a74ae849e0941fc9b9a6b2b6..e48d18e2ea2b17c1b9d36203528184b687c1e7d8 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/profiler_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/profiler_unittest.py
@@ -35,6 +35,7 @@ from .profiler import ProfilerFactory, GooglePProf
class ProfilerFactoryTest(unittest.TestCase):
+
def _assert_default_profiler_name(self, os_name, expected_profiler_name):
profiler_name = ProfilerFactory.default_profiler_name(MockPlatformInfo(os_name))
self.assertEqual(profiler_name, expected_profiler_name)
@@ -61,6 +62,7 @@ class ProfilerFactoryTest(unittest.TestCase):
class GooglePProfTest(unittest.TestCase):
+
def test_pprof_output_regexp(self):
pprof_output = """
sometimes

Powered by Google App Engine
This is Rietveld 408576698