summaryrefslogtreecommitdiff
path: root/tests/internals/yaml.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/internals/yaml.py')
-rw-r--r--tests/internals/yaml.py2
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')