aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
authorShing Lyu <shing.lyu@gmail.com>2016-01-30 09:33:39 +0800
committerShing Lyu <shing.lyu@gmail.com>2016-01-30 09:40:46 +0800
commit83a492a533aecdb122052a9cacd735779ab9dfdd (patch)
tree6d0a6be1962dabc37d5dac2f240e98a5b48b1f1a /python/servo/testing_commands.py
parent18b6817755b3509990e0a9fbe1acb5318d81c957 (diff)
downloadservo-83a492a533aecdb122052a9cacd735779ab9dfdd.tar.gz
servo-83a492a533aecdb122052a9cacd735779ab9dfdd.zip
Fixed nits
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r--python/servo/testing_commands.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index 100414a68e2..142a59e766f 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -242,8 +242,10 @@ class MachCommands(CommandBase):
def test_webidl(self, quiet, tests):
self.ensure_bootstrapped()
- test_file_dir = path.abspath(path.join(PROJECT_TOPLEVEL_PATH, "components", "script", "dom", "bindings", "codegen", "parser"))
- sys.path.insert(0, test_file_dir) # For the `import WebIDL` in runtests.py
+ test_file_dir = path.abspath(path.join(PROJECT_TOPLEVEL_PATH, "components", "script",
+ "dom", "bindings", "codegen", "parser"))
+ # For the `import WebIDL` in runtests.py
+ sys.path.insert(0, test_file_dir)
run_file = path.abspath(path.join(test_file_dir, "runtests.py"))
run_globals = {"__file__": run_file}