commit f6138fcf7f98ce56dde68e70dd966d92f3f0bd59 parent 3844e1447ae52620d2d0a30e9f2889416a411e43 Author: iulian moraru <imoraru@mozilla.com> Date: Sat, 20 Dec 2025 22:05:58 +0200 Revert "Bug 2006557 - Ensure mochitest test_status messages have a subtest field, r=ahal." for "Too few arguments" logged. This reverts commit e22a5afe554f89a422d008031db5b50d6dd9d709. Diffstat:
| M | testing/mochitest/runtests.py | | | 6 | ++---- |
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/testing/mochitest/runtests.py b/testing/mochitest/runtests.py @@ -207,10 +207,8 @@ class MessageLogger: raise ValueError def _fix_subtest_name(self, message): - """Ensure test_status messages have a subtest field and convert it to a string""" - if message.get("action") == "test_status" and "subtest" not in message: - message["subtest"] = None - elif message.get("subtest") is not None: + """Make sure subtest name is a string""" + if message.get("subtest") is not None: message["subtest"] = str(message["subtest"]) def _fix_test_name(self, message):