summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2019-11-30 15:40:37 +0000
committerVincent Sanders <vince@kyllikki.org>2019-11-30 15:41:20 +0000
commit7d0fe9ecbcb7aae8aadcf48fbb71c4c335d62808 (patch)
tree56637966d4660b8bfb9a62e5e0fcecd5d40a103e
parentd39155bba622304d0add0a137eff185394658261 (diff)
downloadnetsurf-7d0fe9ecbcb7aae8aadcf48fbb71c4c335d62808.tar.gz
netsurf-7d0fe9ecbcb7aae8aadcf48fbb71c4c335d62808.tar.bz2
use faster loader for yaml in test parsing
-rwxr-xr-xtest/monkey_driver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/monkey_driver.py b/test/monkey_driver.py
index 7f8a430c0..a442f4ecd 100755
--- a/test/monkey_driver.py
+++ b/test/monkey_driver.py
@@ -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