mirror of
https://github.com/servo/servo
synced 2026-04-29 19:07:38 +02:00
Update web-platform-tests to revision dc5cbf088edcdb266541d4e5a76149a2c6e716a0
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user