diff options
author | Anthon van der Neut <anthon@mnt.org> | 2018-09-07 14:25:14 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2018-09-07 14:25:14 +0200 |
commit | 55964d27ae6afdc11b74004e257c8834aead27e8 (patch) | |
tree | c92f865874ecc8d192f71521fceca05bc1696727 /_test/test_issues.py | |
parent | e9f456c03708ca2c1c7617cb8f1fd2ffe8a018d3 (diff) | |
download | ruamel.yaml-55964d27ae6afdc11b74004e257c8834aead27e8.tar.gz |
fix issue #234 safe_load inserting a fold indicator character0.15.66
*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 | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/_test/test_issues.py b/_test/test_issues.py index 460acf9..1737aa9 100644 --- a/_test/test_issues.py +++ b/_test/test_issues.py @@ -391,7 +391,6 @@ class TestIssues: yaml.safe_load('{]') def test_issue_234(self): - import ruamel.yaml from ruamel.yaml import YAML inp = dedent("""\ @@ -404,7 +403,6 @@ class TestIssues: """) yaml = YAML(typ='safe', pure=True) data = yaml.load(inp) - # data = ruamel.yaml.safe_load(inp) fold = data[0]['cmd'] print(repr(fold)) assert '\a' not in fold |