aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/resources/test/conftest.py
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2018-05-01 13:29:42 -0400
committerGitHub <noreply@github.com>2018-05-01 13:29:42 -0400
commit245dcc2118c88f7b51d65c124a85d74dd356a77a (patch)
tree96553a19391c1b8c1890e39111f94e65c8cfd659 /tests/wpt/web-platform-tests/resources/test/conftest.py
parent44cd8c0a7be61498aad7fda601751c6b4800168e (diff)
parent75286ca848b938a36f1f2cab7a754671e96d4b82 (diff)
downloadservo-245dcc2118c88f7b51d65c124a85d74dd356a77a.tar.gz
servo-245dcc2118c88f7b51d65c124a85d74dd356a77a.zip
Auto merge of #20725 - servo-wpt-sync:wpt_update_30-04-2018, r=jdm
Sync WPT with upstream (30-04-2018) Automated downstream sync of changes from upstream as of 30-04-2018. [no-wpt-sync] <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20725) <!-- Reviewable:end -->
Diffstat (limited to 'tests/wpt/web-platform-tests/resources/test/conftest.py')
-rw-r--r--tests/wpt/web-platform-tests/resources/test/conftest.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/wpt/web-platform-tests/resources/test/conftest.py b/tests/wpt/web-platform-tests/resources/test/conftest.py
index 0be41eeec54..abc3b6cfdda 100644
--- a/tests/wpt/web-platform-tests/resources/test/conftest.py
+++ b/tests/wpt/web-platform-tests/resources/test/conftest.py
@@ -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