From 56a22f859d4fa1a0be6a6335fb7e9232ea9e9239 Mon Sep 17 00:00:00 2001 From: Anthon van der Neut Date: Sun, 13 Aug 2017 12:25:39 +0200 Subject: fix lists within lists with comments had to keep emit the comment and mark it for having been emitted, then reset on next run (as with maps) --- _test/roundtrip.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '_test/roundtrip.py') diff --git a/_test/roundtrip.py b/_test/roundtrip.py index 9774fc4..a00c4d4 100644 --- a/_test/roundtrip.py +++ b/_test/roundtrip.py @@ -44,9 +44,10 @@ def round_trip_load_all(inp, preserve_quotes=None, version=None): ) -def round_trip_dump(data, indent=None, block_seq_indent=None, top_level_colon_align=None, +def round_trip_dump(data, stream=None, + indent=None, block_seq_indent=None, top_level_colon_align=None, prefix_colon=None, explicit_start=None, explicit_end=None, version=None): - return ruamel.yaml.round_trip_dump(data, + return ruamel.yaml.round_trip_dump(data, stream=stream, indent=indent, block_seq_indent=block_seq_indent, top_level_colon_align=top_level_colon_align, prefix_colon=prefix_colon, -- cgit v1.2.1