From bb37f94966363d69f0914cf48d5710569090b70a Mon Sep 17 00:00:00 2001 From: "cmp@chromium.org" Date: Mon, 2 Feb 2015 22:09:46 +0000 Subject: [PATCH] Remove redundant checks. R=maruel@chromium.org Review URL: https://codereview.chromium.org/884243006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293911 0039d316-1c4b-4281-b951-d872f2087c98 --- tests/gclient_test.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/gclient_test.py b/tests/gclient_test.py index 22de31a98..2c7321a01 100755 --- a/tests/gclient_test.py +++ b/tests/gclient_test.py @@ -994,7 +994,6 @@ class GclientTest(trial_dir.TestCase): obj = gclient.GClient.LoadCurrentConfig(options) try: obj.RunOnDeps('None', []) - self.assertFalse("unreachable code") except gclient_utils.Error, e: self.assertIn('allowed_hosts must be', str(e)) finally: @@ -1019,7 +1018,6 @@ class GclientTest(trial_dir.TestCase): obj = gclient.GClient.LoadCurrentConfig(options) try: obj.RunOnDeps('None', []) - self.assertFalse("unreachable code") except gclient_utils.Error, e: self.assertIn('allowed_hosts must be', str(e)) finally: