mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1048423 - Don't retain a default for the 'expected' field of objects logged with log_raw.;r=jgraham
This commit is contained in:
parent
24210e1f69
commit
1fea41be7d
@ -144,7 +144,8 @@ class StructuredLogger(object):
|
||||
|
||||
if action in ("test_status", "test_end"):
|
||||
if (data["expected"] == data["status"] or
|
||||
data["status"] == "SKIP"):
|
||||
data["status"] == "SKIP" or
|
||||
"expected" not in raw_data):
|
||||
del data["expected"]
|
||||
|
||||
self._handle_log(data)
|
||||
|
Loading…
Reference in New Issue
Block a user