diff options
Diffstat (limited to '_test/test_issues.py')
-rw-r--r-- | _test/test_issues.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/_test/test_issues.py b/_test/test_issues.py index 3692f61..9b301a9 100644 --- a/_test/test_issues.py +++ b/_test/test_issues.py @@ -8,6 +8,7 @@ import pytest # NOQA from roundtrip import ( round_trip, + na_round_trip, round_trip_load, round_trip_dump, dedent, @@ -850,6 +851,16 @@ class TestIssues: match='while scanning a directive'): yaml.load(inp) + def test_issue_304(self): + inp = """ + %YAML 1.2 + %TAG ! tag:example.com,2019: + --- + !foo null + ... + """ + d = na_round_trip(inp) # NOQA + # @pytest.mark.xfail(strict=True, reason='bla bla', raises=AssertionError) # def test_issue_ xxx(self): # inp = """ |