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

Unified Diff: tools/telemetry/telemetry/unittest_util/tab_test_case.py

Issue 952693003: Telemetry: Move TimeoutException from util module to exceptions module. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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: tools/telemetry/telemetry/unittest_util/tab_test_case.py
diff --git a/tools/telemetry/telemetry/unittest_util/tab_test_case.py b/tools/telemetry/telemetry/unittest_util/tab_test_case.py
index 92a9c94d042a457e1bcdabdab1938e0353d63921..8fe4f74d5e865e9916c6ee00141a46eb44c5e8b7 100644
--- a/tools/telemetry/telemetry/unittest_util/tab_test_case.py
+++ b/tools/telemetry/telemetry/unittest_util/tab_test_case.py
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-from telemetry.core import util
+from telemetry.core import exceptions
from telemetry.unittest_util import browser_test_case
@@ -19,7 +19,7 @@ class TabTestCase(browser_test_case.BrowserTestCase):
self._tab = self._browser.tabs.New()
while len(self._browser.tabs) > 1:
self._browser.tabs[0].Close()
- except util.TimeoutException:
+ except exceptions.TimeoutException:
self._RestartBrowser()
else:
self._RestartBrowser()
« no previous file with comments | « tools/telemetry/telemetry/page/actions/seek_unittest.py ('k') | tools/telemetry/telemetry/user_story/user_story_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698