summaryrefslogtreecommitdiff
path: root/_test
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2023-05-02 08:07:26 +0200
committerAnthon van der Neut <anthon@mnt.org>2023-05-02 08:07:26 +0200
commitb87bbd1afd0c4a644d8ecf6e90561b1910ac57c4 (patch)
tree861cb398aabc20692375747004f9bde429b740be /_test
parentd8f939cfb75f05787eb363e4e919fafea1f439f7 (diff)
downloadruamel.yaml-b87bbd1afd0c4a644d8ecf6e90561b1910ac57c4.tar.gz
fix readme, xfail spec_6_260.17.22
Diffstat (limited to '_test')
-rw-r--r--_test/test_issues.py2
-rw-r--r--_test/test_tag.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/_test/test_issues.py b/_test/test_issues.py
index d722b74..47e8e87 100644
--- a/_test/test_issues.py
+++ b/_test/test_issues.py
@@ -864,7 +864,7 @@ class TestIssues:
"""
d = na_round_trip(inp) # NOQA
- def test_issue_449(self):
+ def test_issue_449(self) -> None:
inp = """\
emoji_index: !!python/name:materialx.emoji.twemoji
"""
diff --git a/_test/test_tag.py b/_test/test_tag.py
index 40e3f69..6447779 100644
--- a/_test/test_tag.py
+++ b/_test/test_tag.py
@@ -65,7 +65,8 @@ class TestIndentFailures:
language: python
""")
- def test_spec_6_26_tag_shorthands(self):
+ @pytest.mark.xfail(strict=True) # type: ignore
+ def test_spec_6_26_tag_shorthands(self) -> None:
round_trip("""\
%TAG !e! tag:example.com,2000:app/
---