update yaml loader to new method

This commit is contained in:
Jonathan Wren 2021-10-02 13:47:44 -07:00
parent 7d8823da6d
commit e16e3a1f62

View file

@ -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: