use faster loader for yaml in test parsing
This commit is contained in:
parent
d39155bba6
commit
7d0fe9ecbc
|
@ -174,7 +174,7 @@ def load_test_plan(path):
|
||||||
plan = []
|
plan = []
|
||||||
with open(path, 'r') as stream:
|
with open(path, 'r') as stream:
|
||||||
try:
|
try:
|
||||||
plan = (yaml.load(stream))
|
plan = (yaml.load(stream, Loader=yaml.CSafeLoader))
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
print(exc)
|
print(exc)
|
||||||
return plan
|
return plan
|
||||||
|
|
Loading…
Reference in New Issue