We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e83889 commit f7f30e4Copy full SHA for f7f30e4
1 file changed
asdf/_tests/test_util.py
@@ -137,15 +137,12 @@ def test_load_yaml_recursion_with_tags(tagged):
137
%YAML 1.1
138
%TAG ! tag:stsci.edu:asdf/
139
--- !core/asdf-1.1.0
140
-o: &id001 !transform/remap_axes-1.4.0
141
- inputs: [x0, x1]
142
- inverse: !transform/remap_axes-1.4.0
143
- inputs: [x0, x1, x2]
+o: &id001 !some/tag-1.0.0
+ inverse: !some/tag-1.0.0
144
inverse: *id001
145
- mapping: [2, 1]
146
- outputs: [x0, x1]
147
- mapping: [0, 1, 0]
148
- outputs: [x0, x1, x2]
+l: &id002 !some/tag-1.0.0
+ - *id002
149
..."""
150
tree = util.load_yaml(io.BytesIO(contents), tagged=tagged)
151
assert tree["o"] is tree["o"]["inverse"]["inverse"]
+ assert tree["l"] is tree["l"][0]
0 commit comments