diff options
author | Anthon van der Neut <anthon@mnt.org> | 2018-08-18 12:32:08 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2018-08-18 12:32:08 +0200 |
commit | a14b9f18f48a8151650ebcac34f812a6b5e5eb63 (patch) | |
tree | 69815f1dea06cf42a84346243ce7da599d103c04 | |
parent | f3d545e81e953cf0ddd6cac4f103d05047610d39 (diff) | |
download | ruamel.yaml-a14b9f18f48a8151650ebcac34f812a6b5e5eb63.tar.gz |
failing test re #219 single entry map as flow sequence element
-rw-r--r-- | _test/test_issues.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/_test/test_issues.py b/_test/test_issues.py index cbec708..0d1f0ca 100644 --- a/_test/test_issues.py +++ b/_test/test_issues.py @@ -233,6 +233,13 @@ class TestIssues: d.yaml_add_eol_comment('test1', 'bar') assert round_trip_dump(d) == yaml_str + 'bar: foo # test1\n' + @pytest.mark.xfail(strict=True) + def test_issue_219(self): + yaml_str = dedent("""\ + [StackName: AWS::StackName] + """) + d = round_trip_load(yaml_str) + def test_issue_220(self, tmpdir): program_src = r''' from ruamel.yaml import YAML |