diff options
author | Benjamin Schubert <ben.c.schubert@gmail.com> | 2019-06-26 18:48:02 +0100 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-07-15 14:14:02 +0000 |
commit | bb3c8045cd89a7c4d1d7cd2e03736496dd449fb9 (patch) | |
tree | a8881435e3f8819f1f500750fb7ae8066d81fdcc /tests/internals | |
parent | 0d957f0d8e3d6492d2144f0b57df163eaf1ab1e5 (diff) | |
download | buildstream-bb3c8045cd89a7c4d1d7cd2e03736496dd449fb9.tar.gz |
_yaml: Remove 'node_copy' and add 'Node.copy()'
Also adaprt every part of the code calling it
Diffstat (limited to 'tests/internals')
-rw-r--r-- | tests/internals/yaml.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/internals/yaml.py b/tests/internals/yaml.py index aa83d949a..0df058d62 100644 --- a/tests/internals/yaml.py +++ b/tests/internals/yaml.py @@ -183,7 +183,7 @@ def test_composite_preserve_originals(datafiles): base = _yaml.load(filename) overlay = _yaml.load(overlayfile) - base_copy = _yaml.node_copy(base) + base_copy = base.copy() _yaml.composite_dict(base_copy, overlay) copy_extra = base_copy.get_mapping('extra') |