Commit bb37f949 authored by cmp@chromium.org's avatar cmp@chromium.org

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
parent 3ed89743
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment