mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Update web-platform-tests to revision dc5cbf088edcdb266541d4e5a76149a2c6e716a0
This commit is contained in:
parent
1d40075f03
commit
079092dfea
2381 changed files with 90360 additions and 17722 deletions
|
@ -100,7 +100,7 @@ def write_test_file(script_dir, out_dir, tests, file_name, template_file_name):
|
|||
file_name = os.path.join(out_dir, file_name + ".html")
|
||||
short_name = os.path.split(file_name)[1]
|
||||
|
||||
with open(os.path.join(script_dir, template_file_name)) as f:
|
||||
with open(os.path.join(script_dir, template_file_name), "r") as f:
|
||||
template = MarkupTemplate(f)
|
||||
|
||||
stream = template.generate(file_name=short_name, tests=tests)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue