diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 00:46:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 00:46:58 +0000 |
commit | ae556d46aaf4fcf7e48fbbf9cfe223a87255fab0 (patch) | |
tree | e4da9a2c3bb60d9d66a036e63a0bb69f5949e13a /debian/tests/data/test-yaml.py | |
parent | Releasing progress-linux version 0.2.8-1~progress7.99u1. (diff) | |
download | ruamel.yaml.clib-ae556d46aaf4fcf7e48fbbf9cfe223a87255fab0.tar.xz ruamel.yaml.clib-ae556d46aaf4fcf7e48fbbf9cfe223a87255fab0.zip |
Merging debian version 0.2.8-2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/tests/data/test-yaml.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/tests/data/test-yaml.py b/debian/tests/data/test-yaml.py index 7a1bf9e..311a3f8 100644 --- a/debian/tests/data/test-yaml.py +++ b/debian/tests/data/test-yaml.py @@ -1,15 +1,15 @@ # very crude smoke test of the yaml package -import ruamel.yaml as yaml +from ruamel.yaml import YAML def test_load_clib(): import ruamel.yaml.cyaml def test_safe_load(): - + yaml = YAML(typ="safe", pure=False) with open("test-yaml.yaml") as fh: - y = yaml.safe_load(fh) + y = yaml.load(fh) assert len(y['testdata']) == 2 |