mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 06:21:45 +03:00
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 = []
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user