diff options
author | Dan Beam <dbeam@chromium.org> | 2015-05-04 21:07:16 -0700 |
---|---|---|
committer | Dan Beam <dbeam@chromium.org> | 2015-05-05 04:08:25 +0000 |
commit | 8cfb70cf3c179cc69e060a5e215d8eb9707b0f85 (patch) | |
tree | 90cccef9b4e61fc5d36d89b219b298d07933898b /third_party | |
parent | 4b06412d951cf97fc0547e49d8582f47e1e36d76 (diff) | |
download | chromium_src-8cfb70cf3c179cc69e060a5e215d8eb9707b0f85.zip chromium_src-8cfb70cf3c179cc69e060a5e215d8eb9707b0f85.tar.gz chromium_src-8cfb70cf3c179cc69e060a5e215d8eb9707b0f85.tar.bz2 |
Revert sys.path hackery in compiler_customization_test.py if possible.
TBR=tbreisacher@chromium.org
BUG=393873
Review URL: https://codereview.chromium.org/1122953002
Cr-Commit-Position: refs/heads/master@{#328273}
Diffstat (limited to 'third_party')
-rwxr-xr-x | third_party/closure_compiler/compiler_customization_test.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/third_party/closure_compiler/compiler_customization_test.py b/third_party/closure_compiler/compiler_customization_test.py index 10aee9c..8092ecd 100755 --- a/third_party/closure_compiler/compiler_customization_test.py +++ b/third_party/closure_compiler/compiler_customization_test.py @@ -4,16 +4,13 @@ # found in the LICENSE file. import os -from sys import path as sys_path import unittest -_SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) -sys_path.insert(0, _SCRIPT_DIR) - from compile import Checker from processor import FileCache, Processor +_SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) _SRC_DIR = os.path.join(_SCRIPT_DIR, os.pardir, os.pardir) _RESOURCES_DIR = os.path.join(_SRC_DIR, "ui", "webui", "resources", "js") _ASSERT_JS = os.path.join(_RESOURCES_DIR, "assert.js") |