diff options
author | Anthon van der Neut <anthon@mnt.org> | 2018-08-17 18:21:31 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2018-08-17 18:21:31 +0200 |
commit | 964ce371e08b0400a0e8c9019b132f43588b86fb (patch) | |
tree | c47adbfab6af451f035d362d7249ae7f6f35878f /_test/test_issues.py | |
parent | 505784248165b4f938534f015a47b568635ae9f5 (diff) | |
download | ruamel.yaml-964ce371e08b0400a0e8c9019b132f43588b86fb.tar.gz |
fix issue 223 Cloader not initialising Resolver version0.15.59
*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/test_issues.py')
-rw-r--r-- | _test/test_issues.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/_test/test_issues.py b/_test/test_issues.py index bd47155..cbec708 100644 --- a/_test/test_issues.py +++ b/_test/test_issues.py @@ -287,8 +287,10 @@ class TestIssues: ruamel.yaml.safe_dump(['012923'], buf) assert buf.getvalue() == "['012923']\n" - @pytest.mark.xfail(strict=True) def test_issue_223(self): import ruamel.yaml + yaml = ruamel.yaml.YAML(typ='safe') - yaml.load("phone: 0123456789") + yaml.load('phone: 0123456789') + + # @pytest.mark.xfail(strict=True) |