зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1452643 [wpt PR 10215] - [Gecko Bug 1433923] Use detailed failure message for wdspec test failures (pytest)., a=testonly
Automatic update from web-platform-testsfixup! Fix indentation wpt-commits: 94ab26e4e5dc262e451be96e0f0883b5316f347f wpt-pr: 10215 wpt-commits: 94ab26e4e5dc262e451be96e0f0883b5316f347f wpt-pr: 10215
This commit is contained in:
Родитель
6e32a48c81
Коммит
923a1e90f7
|
@ -110,9 +110,9 @@ class SubtestResultRecorder(object):
|
|||
# > E AssertionError: assert 'fuu' in 'foobar'
|
||||
message = ""
|
||||
for line in report.longreprtext.splitlines():
|
||||
if line.startswith("E "):
|
||||
message = line[1:].strip()
|
||||
break
|
||||
if line.startswith("E "):
|
||||
message = line[1:].strip()
|
||||
break
|
||||
|
||||
self.record(report.nodeid, "FAIL", message=message, stack=report.longrepr)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче