diff --git a/scripts/bwruntests.py b/scripts/bwruntests.py index 2c8908b4..f9d58ee9 100755 --- a/scripts/bwruntests.py +++ b/scripts/bwruntests.py @@ -246,7 +246,7 @@ def proc_out(cwd, stdout, stderr): file=sys.stderr) exit(1) with open(args.test_file) as f: - testyaml = yaml.load(f) + testyaml = yaml.load(f, Loader=yaml.Loader) for testsetname, testv in testyaml.items(): for testname, insn in testv.items(): cmd = shlex.split(insn['command'])