mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Update web-platform-tests to revision ea14651f262003177d0ba5819bd2806a1327b12a
This commit is contained in:
parent
847115ba04
commit
816185f094
272 changed files with 5766 additions and 2855 deletions
|
@ -80,7 +80,7 @@ class HTMLItem(pytest.Item, pytest.Collector):
|
|||
if not self.expected:
|
||||
assert summarized[u'summarized_status'][u'status_string'] == u'OK', summarized[u'summarized_status'][u'message']
|
||||
for test in summarized[u'summarized_tests']:
|
||||
msg = "%s\n%s:\n%s" % (test[u'name'], test[u'message'], test[u'stack'])
|
||||
msg = "%s\n%s" % (test[u'name'], test[u'message'])
|
||||
assert test[u'status_string'] == u'PASS', msg
|
||||
else:
|
||||
assert summarized == self.expected
|
||||
|
@ -93,12 +93,7 @@ class HTMLItem(pytest.Item, pytest.Collector):
|
|||
@staticmethod
|
||||
def _scrub_stack(test_obj):
|
||||
copy = dict(test_obj)
|
||||
|
||||
assert 'stack' in copy
|
||||
|
||||
if copy['stack'] is not None:
|
||||
copy['stack'] = u'(implementation-defined)'
|
||||
|
||||
del copy['stack']
|
||||
return copy
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue