Update web-platform-tests to revision b7ee88243f64e6c7f2d00c163bd3bc501e4db7ef

This commit is contained in:
WPT Sync Bot 2018-02-06 20:08:49 -05:00
parent 804b4b3db6
commit a4b4c8e015
134 changed files with 2918 additions and 388 deletions

View file

@ -39,8 +39,8 @@ class Response(object):
try:
body = json.load(http_response, cls=decoder, **kwargs)
except ValueError:
raise ValueError("Failed to decode response body as JSON:\n"
"%s" % json.dumps(body, indent=2))
raise ValueError("Failed to decode response body as JSON:\n" +
http_response.read())
return cls(http_response.status, body)