From e16e3a1f62b47a5fa6198ed89261bab4c2d07166 Mon Sep 17 00:00:00 2001 From: Jonathan Wren Date: Sat, 2 Oct 2021 13:47:44 -0700 Subject: [PATCH] update yaml loader to new method --- tests/lib/then_steps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/then_steps.py b/tests/lib/then_steps.py index 2dadf82e..15130867 100644 --- a/tests/lib/then_steps.py +++ b/tests/lib/then_steps.py @@ -117,7 +117,7 @@ def config_var(config_data, journal_name, should_or_should_not, some_yaml): if journal_name: actual = actual["journals"][journal_name] - expected = yaml.load(some_yaml, Loader=yaml.FullLoader) + expected = yaml.load(some_yaml, Loader=yaml.SafeLoader) actual_slice = actual if type(actual) is dict: