mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Auto merge of #21244 - servo:jdm-patch-23, r=SimonSapin
Adjust import path for WPT tests to accommodate upstream. This should avoid the ongoing issues where new dependencies are vendored upstream and our setup throws exceptions when some code tries to import them. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21244) <!-- Reviewable:end -->
This commit is contained in:
commit
e6768648a5
1 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,8 @@ def servo_path(*args):
|
|||
paths = {"include_manifest": wpt_path("include.ini"),
|
||||
"config": wpt_path("config.ini")}
|
||||
# Imports
|
||||
sys.path.append(wpt_path("web-platform-tests", "tools", "wptrunner"))
|
||||
sys.path.append(wpt_path("web-platform-tests", "tools"))
|
||||
import localpaths # noqa: flake8
|
||||
from wptrunner import wptrunner, wptcommandline
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue