summaryrefslogtreecommitdiff
path: root/_test
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2018-09-20 16:48:10 +0200
committerAnthon van der Neut <anthon@mnt.org>2018-09-20 16:48:10 +0200
commite1594f4f390a67f376722086ea4ac3e5583d003d (patch)
tree7b3e926d8a2e8507538832f0a216c39effc58dfb /_test
parentc706e5ec84f7520b1e63110af89f441ebdbceae6 (diff)
downloadruamel.yaml-e1594f4f390a67f376722086ea4ac3e5583d003d.tar.gz
fix issue #239 dropping comments before document-end on load_all0.15.69
*When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))*
Diffstat (limited to '_test')
-rw-r--r--_test/test_issues.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/_test/test_issues.py b/_test/test_issues.py
index 9c06af4..f3a0389 100644
--- a/_test/test_issues.py
+++ b/_test/test_issues.py
@@ -483,8 +483,7 @@ 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):
+ def test_issue_239(self):
inp = """
first_name: Art
occupation: Architect
@@ -500,6 +499,7 @@ class TestIssues:
# Lost again
---
I: knew
+ # final words
"""
d = YAML().round_trip_all(inp) # NOQA