summaryrefslogtreecommitdiff
path: root/_test
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2018-10-17 09:48:02 +0200
committerAnthon van der Neut <anthon@mnt.org>2018-10-17 09:48:02 +0200
commit793b5fc54e94a3c40b7db0d1141ddea9a1d52c81 (patch)
tree1d100f997494acf11c24508dc6a4eb1d2edd4804 /_test
parentef85bee2a24a6bb05c06d76a539401cbced70040 (diff)
downloadruamel.yaml-793b5fc54e94a3c40b7db0d1141ddea9a1d52c81.tar.gz
added failing test re issue #250 comment on sequence within sequence
Diffstat (limited to '_test')
-rw-r--r--_test/test_issues.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/_test/test_issues.py b/_test/test_issues.py
index 5776784..157021e 100644
--- a/_test/test_issues.py
+++ b/_test/test_issues.py
@@ -549,6 +549,17 @@ class TestIssues:
""")
yaml.round_trip(inp, outp=exp) # NOQA
+ @pytest.mark.xfail(strict=True, reason='bla bla', raises=AssertionError)
+ def test_issue_250(self):
+ inp = """
+ # 1.
+ - - 1
+ # 2.
+ - map: 2
+ # 3.
+ - 4
+ """
+ d = round_trip(inp) # NOQA
# @pytest.mark.xfail(strict=True, reason='bla bla', raises=AssertionError)
# def test_issue_ xxx(self):