summaryrefslogtreecommitdiff
path: root/_test
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2019-07-17 09:53:27 +0200
committerAnthon van der Neut <anthon@mnt.org>2019-07-17 09:53:27 +0200
commit0427670ffa4fd8f70824dbf9533514f9a4daeff3 (patch)
tree5ac3fdfa799aa2f48510a1f3e9cd7bcbdf373785 /_test
parent9eb543eb3b1512a176f12ae6e4ba46ca6acf1b84 (diff)
downloadruamel.yaml-0427670ffa4fd8f70824dbf9533514f9a4daeff3.tar.gz
allow dump of deepcopied data from commented YAML0.15.100
fixes issue #295 *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 7968e74..90128dd 100644
--- a/_test/test_issues.py
+++ b/_test/test_issues.py
@@ -798,7 +798,7 @@ class TestIssues:
yaml.dump(data, buf)
assert buf.getvalue() == yamldoc
- @pytest.mark.xfail(strict=True, reason='should fail pre 0.15.100', raises=AssertionError)
+ # @pytest.mark.xfail(strict=True, reason='should fail pre 0.15.100', raises=AssertionError)
def test_issue_295(self):
# deepcopy also makes a copy of the start and end mark, and these did not
# have any comparison beyond their ID, which of course changed, breaking
@@ -811,7 +811,7 @@ class TestIssues:
# comment
- l1
- l2
-
+
C:
d: e
f: