Skip to content

Commit 15e12eb

Browse files
committed
Fix manifest.yaml format to use
block style instead of flow style
1 parent 8d37e41 commit 15e12eb

File tree

1 file changed

+4
-1
lines changed
  • tests/core/pyspec/eth2spec/gen_helpers/gen_base

1 file changed

+4
-1
lines changed

tests/core/pyspec/eth2spec/gen_helpers/gen_base/dumper.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,10 @@ def dump_manifest(self, test_case: TestCase) -> None:
8080
'suite_name': test_case.suite_name,
8181
'case_name': test_case.case_name,
8282
}
83-
self._dump_yaml(test_case, "manifest", manifest_data, self.default_yaml)
83+
# Use cfg_yaml which has block style formatting (default_flow_style=False)
84+
# This ensures each field appears on a separate line, matching data.yaml format
85+
self._dump_yaml(test_case, "manifest", manifest_data, self.cfg_yaml)
86+
8487

8588
def _dump_yaml(self, test_case: TestCase, name: str, data: any, yaml_encoder: YAML) -> None:
8689
"""Helper to write YAML files for test case."""

0 commit comments

Comments
 (0)