use faster loader for yaml in test parsing

This commit is contained in:
Daniel Silverstone 2019-11-30 15:40:37 +00:00 committed by Vincent Sanders
parent d39155bba6
commit 7d0fe9ecbc

View File

@ -174,7 +174,7 @@ def load_test_plan(path):
plan = []
with open(path, 'r') as stream:
try:
plan = (yaml.load(stream))
plan = (yaml.load(stream, Loader=yaml.CSafeLoader))
except Exception as exc:
print(exc)
return plan