summaryrefslogtreecommitdiff
path: root/_test
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2019-01-08 09:03:34 +0100
committerAnthon van der Neut <anthon@mnt.org>2019-01-08 09:03:34 +0100
commitbdc07310846d253ddeac78f370db03df5d6e31b0 (patch)
tree960e48a41009998f6d1c32e6fb72930963672106 /_test
parent619842506decc4b036e06e5753f3f7476c036d41 (diff)
downloadruamel.yaml-bdc07310846d253ddeac78f370db03df5d6e31b0.tar.gz
resolves issue #274 replace dict with collections.OrderedDict when loading0.15.85
https://bitbucket.org/ruamel/yaml/issues/274/add-a-typ-ordered-for-a-middle-ground#comment-49783394 *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')
-rw-r--r--_test/test_api_change.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/_test/test_api_change.py b/_test/test_api_change.py
index 9bb26b5..3f3d411 100644
--- a/_test/test_api_change.py
+++ b/_test/test_api_change.py
@@ -146,6 +146,7 @@ class TestRead:
with pytest.raises(ConstructorError):
yaml.load(s)
# should parse fine
+ yaml = YAML(typ='safe')
for _ in yaml.parse(s):
pass