diff options
author | Anthon van der Neut <anthon@mnt.org> | 2016-08-20 10:57:19 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2016-08-20 10:57:19 +0200 |
commit | e826a227fac58b8c4fe312f948c42a2d458af9d2 (patch) | |
tree | 6d2862247f951882c1c49ad1a8791bd971b5b5b2 /_test/roundtrip.py | |
parent | 95a952dc87635fd5c72153add15607a80ac5d02d (diff) | |
download | ruamel.yaml-e826a227fac58b8c4fe312f948c42a2d458af9d2.tar.gz |
fix issue 45: preserve datetime 'T' + timezone
Diffstat (limited to '_test/roundtrip.py')
-rw-r--r-- | _test/roundtrip.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/_test/roundtrip.py b/_test/roundtrip.py index 9872239..d57e846 100644 --- a/_test/roundtrip.py +++ b/_test/roundtrip.py @@ -38,6 +38,10 @@ def round_trip_dump(data, indent=None, block_seq_indent=None, top_level_colon_al def round_trip(inp, outp=None, extra=None, intermediate=None, indent=None, block_seq_indent=None, top_level_colon_align=None, prefix_colon=None, preserve_quotes=None): + """ + inp: input string to parse + outp: expected output (equals input if not specified) + """ if outp is None: outp = inp doutp = dedent(outp) |