summaryrefslogtreecommitdiff
path: root/_test
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2019-08-16 07:24:14 +0200
committerAnthon van der Neut <anthon@mnt.org>2019-08-16 07:24:14 +0200
commit253509a0afc997ab1fc027fc9344aea30dc7632b (patch)
tree3292b0d2d7a69aef781795002429fd4b59a383b5 /_test
parent37703e0ceb151d4a96b434626b4851ffe1250bb2 (diff)
downloadruamel.yaml-253509a0afc997ab1fc027fc9344aea30dc7632b.tar.gz
output of # in TAG directive0.16.4
fixes issue #307 *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.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/_test/test_issues.py b/_test/test_issues.py
index f2b5d74..673ba45 100644
--- a/_test/test_issues.py
+++ b/_test/test_issues.py
@@ -869,6 +869,16 @@ class TestIssues:
"""
d = na_round_trip(inp) # NOQA
+ def test_issue_307(self):
+ inp = """
+ %YAML 1.2
+ %TAG ! tag:example.com,2019/path#
+ ---
+ null
+ ...
+ """
+ d = na_round_trip(inp) # NOQA
+
# @pytest.mark.xfail(strict=True, reason='bla bla', raises=AssertionError)
# def test_issue_ xxx(self):
# inp = """