Index: mojo/public/tools/bindings/pylib/parse/mojo_lexer_unittest.py |
diff --git a/mojo/public/bindings/pylib/parse/mojo_lexer_unittest.py b/mojo/public/tools/bindings/pylib/parse/mojo_lexer_unittest.py |
similarity index 97% |
rename from mojo/public/bindings/pylib/parse/mojo_lexer_unittest.py |
rename to mojo/public/tools/bindings/pylib/parse/mojo_lexer_unittest.py |
index e43748eac604ae1e946529c92f841b5073807515..18be667bef982c766e8e51b2444d4138ae324879 100644 |
--- a/mojo/public/bindings/pylib/parse/mojo_lexer_unittest.py |
+++ b/mojo/public/tools/bindings/pylib/parse/mojo_lexer_unittest.py |
@@ -12,9 +12,10 @@ try: |
# pylint: disable=F0401 |
from ply import lex |
except ImportError: |
+ # This assumes this file is in src/mojo/public/tools/bindings/pylib/parse/. |
module_path, module_name = os.path.split(__file__) |
third_party = os.path.join(module_path, os.pardir, os.pardir, os.pardir, |
- os.pardir, os.pardir, 'third_party') |
+ os.pardir, os.pardir, os.pardir, 'third_party') |
sys.path.append(third_party) |
# pylint: disable=F0401 |
from ply import lex |