diff --git a/tests/test_yaml.py b/tests/test_yaml.py index a8a9a86..ae124c1 100755 --- a/tests/test_yaml.py +++ b/tests/test_yaml.py @@ -90,7 +90,7 @@ class YamlTest(TestBase): # convert excuses to source indexed dict excuses_dict = {} - for s in yaml.load(excuses_yaml)['sources']: + for s in yaml.load(excuses_yaml, Loader=yaml.CSafeLoader)['sources']: excuses_dict[s['source']] = s if 'SHOW_EXCUSES' in os.environ: