From 2b98d1baa4799787f7423fa2061f5cc3f7edb0d1 Mon Sep 17 00:00:00 2001 From: Michael Rogenmoser Date: Fri, 22 Mar 2024 17:16:05 +0100 Subject: [PATCH] Fix bwruntests yaml loader --- scripts/bwruntests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bwruntests.py b/scripts/bwruntests.py index 2c8908b..8c0780e 100755 --- a/scripts/bwruntests.py +++ b/scripts/bwruntests.py @@ -246,7 +246,7 @@ the pyyaml library which is not installed.""", file=sys.stderr) exit(1) with open(args.test_file) as f: - testyaml = yaml.load(f) + testyaml = yaml.safe_load(f) for testsetname, testv in testyaml.items(): for testname, insn in testv.items(): cmd = shlex.split(insn['command'])