diff options
author | Anthon van der Neut <anthon@mnt.org> | 2018-09-20 08:53:01 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2018-09-20 08:53:01 +0200 |
commit | d3bd516b32e076af856897defdad212e8fcfd878 (patch) | |
tree | 13ddb2525b3c627c0e0670e5d2549ab98724d623 | |
parent | 02547f7eb11a191838cb62547274b614743e42d4 (diff) | |
download | ruamel.yaml-d3bd516b32e076af856897defdad212e8fcfd878.tar.gz |
add failing test re #236
-rw-r--r-- | _test/test_issues.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/_test/test_issues.py b/_test/test_issues.py index df39b44..76e964c 100644 --- a/_test/test_issues.py +++ b/_test/test_issues.py @@ -441,3 +441,18 @@ class TestIssues: fold = data[0]['cmd'] print(repr(fold)) assert '\a' not in fold + + @pytest.mark.xfail(strict=True, reason='newline in nested flow sequence', + raises=AssertionError) + def test_issue_236(self): + inp = """ + conf: + xx: {a: "b", c: []} + asd: "nn" + """ + d = round_trip(inp) # NOQA + +# def test_issue_xxx(self): +# inp = """ +# """) +# d = round_trip(inp) # NOQA |