diff options
author | Anthon van der Neut <anthon@mnt.org> | 2018-09-26 08:55:44 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2018-09-26 08:55:44 +0200 |
commit | 7a95315755802efe70f79f5d87ca0be321802752 (patch) | |
tree | 4df56678c0c7ee2d5a80305f6558b93c3f51ab2a /_test/test_issues.py | |
parent | 23b5bf1a61f022e17074d6a62402125956f5cd7f (diff) | |
download | ruamel.yaml-7a95315755802efe70f79f5d87ca0be321802752.tar.gz |
added failing test re #242
Diffstat (limited to '_test/test_issues.py')
-rw-r--r-- | _test/test_issues.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/_test/test_issues.py b/_test/test_issues.py index 80be4f4..4b94b08 100644 --- a/_test/test_issues.py +++ b/_test/test_issues.py @@ -509,6 +509,11 @@ class TestIssues: d = YAML().round_trip_all(inp) # NOQA + @pytest.mark.xfail(strict=True, reason='faulty initialisation', raises=AttributeError) + def test_issue_242(self): + from ruamel.yaml.comments import CommentedMap + d0 = CommentedMap([('a', 'b')]) + # @pytest.mark.xfail(strict=True, reason='bla bla', raises=AssertionError) # def test_issue_xxx(self): # inp = """ |