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

Unified Diff: telemetry/telemetry/internal/browser/tab_unittest.py

Issue 2988563002: Fixed errors related to bad-continuation (Closed)
Patch Set: Removed pylintrc changes Created 3 years, 5 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 | « no previous file | telemetry/telemetry/internal/platform/android_device_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/internal/browser/tab_unittest.py
diff --git a/telemetry/telemetry/internal/browser/tab_unittest.py b/telemetry/telemetry/internal/browser/tab_unittest.py
index 9170f8b89c3957163a0c72b09e44cdcc470fe8df..df7c0b43acd7159defc5b3ef718257c10987a315 100644
--- a/telemetry/telemetry/internal/browser/tab_unittest.py
+++ b/telemetry/telemetry/internal/browser/tab_unittest.py
@@ -82,9 +82,9 @@ class TabTest(tab_test_case.TabTestCase):
self._tab.WaitForJavaScriptCondition(
'window.__one === 1', timeout=1)
self.assertIn(
- ("(error) :5: Uncaught TypeError: Cannot read property 'not_defined' "
- 'of undefined\n'),
- context.exception.message)
+ ("(error) :5: Uncaught TypeError: Cannot read property 'not_defined' "
+ 'of undefined\n'),
+ context.exception.message)
@decorators.Enabled('has tabs')
def testActivateTab(self):
@@ -192,7 +192,8 @@ class TabTest(tab_test_case.TabTestCase):
self._tab.Navigate(self.UrlOfUnittestFile('blank.html'))
self.assertTrue(self._tab.IsAlive())
- self.assertRaises(exceptions.DevtoolsTargetCrashException,
+ self.assertRaises(
+ exceptions.DevtoolsTargetCrashException,
lambda: self._tab.Navigate(self.UrlOfUnittestFile('chrome://crash')))
self.assertFalse(self._tab.IsAlive())
« no previous file with comments | « no previous file | telemetry/telemetry/internal/platform/android_device_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698