summaryrefslogtreecommitdiff
path: root/_test
diff options
context:
space:
mode:
Diffstat (limited to '_test')
-rw-r--r--_test/test_issues.py24
1 files changed, 23 insertions, 1 deletions
diff --git a/_test/test_issues.py b/_test/test_issues.py
index 0612be1..9c06af4 100644
--- a/_test/test_issues.py
+++ b/_test/test_issues.py
@@ -12,6 +12,7 @@ from roundtrip import (
round_trip_dump,
dedent,
save_and_run,
+ YAML,
) # NOQA
@@ -482,8 +483,29 @@ class TestIssues:
"""
assert save_and_run(dedent(program_src), tmpdir) == 0
+ @pytest.mark.xfail(strict=True, reason='bla bla', raises=AssertionError)
+ def test_issue_xxx(self):
+ inp = """
+ first_name: Art
+ occupation: Architect
+ # I'm safe
+ about: Art Vandelay is a fictional character that George invents...
+ # we are not :(
+ # help me!
+ ---
+ # what?!
+ hello: world
+ # someone call the Batman
+ foo: bar # or quz
+ # Lost again
+ ---
+ I: knew
+ """
+ d = YAML().round_trip_all(inp) # NOQA
+
+# @pytest.mark.xfail(strict=True, reason='bla bla', raises=AssertionError)
# def test_issue_xxx(self):
# inp = """
-# """)
+# """
# d = round_trip(inp) # NOQA