tests: use yaml.safe_load as yaml.load is deprecated

ubuntu/rebased
Paul Gevers 5 years ago
parent 2fc265be91
commit 747c67854a
No known key found for this signature in database
GPG Key ID: 9C5C99EB05BD750A

@ -116,7 +116,7 @@ class T(TestBase):
# convert excuses to source indexed dict
excuses_dict = {}
for s in yaml.load(excuses_yaml)['sources']:
for s in yaml.safe_load(excuses_yaml)['sources']:
excuses_dict[s['source']] = s
if 'SHOW_EXCUSES' in os.environ:

Loading…
Cancel
Save