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 012449ee4..0e747fa48 100644
--- a/tests/internals/yaml.py
+++ b/tests/internals/yaml.py
@@ -451,7 +451,7 @@ def test_value_doesnt_match_expected(datafiles):
test_dict = _yaml.load(conf_file)
with pytest.raises(LoadError) as exc:
- _yaml.node_get(test_dict, int, "Test4")
+ test_dict.get_int("Test4")
assert exc.value.reason == LoadErrorReason.INVALID_DATA