Update web-platform-tests to revision dc5cbf088edcdb266541d4e5a76149a2c6e716a0

This commit is contained in:
Ms2ger
2016-09-09 09:40:35 +02:00
parent 1d40075f03
commit 079092dfea
2381 changed files with 90360 additions and 17722 deletions

View File

@@ -23,7 +23,7 @@ test_file_path_pattern = '%(spec_name)s/' + selection_pattern + \
def get_template(basename):
with open(os.path.join(template_directory, basename)) as f:
with open(os.path.join(template_directory, basename), "r") as f:
return f.read()
@@ -36,7 +36,7 @@ def read_nth_line(fp, line_number):
def load_spec_json():
re_error_location = re.compile('line ([0-9]+) column ([0-9]+)')
with open(spec_filename) as f:
with open(spec_filename, "r") as f:
try:
spec_json = json.load(f)
except ValueError, ex: