Fix missing argument Loader in bwruntests.py

This commit is contained in:
Riccardo Tedeschi 2024-02-12 18:40:49 +01:00
parent 197d06b6ad
commit e09b72160a

View file

@ -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.load(f, Loader=yaml.Loader)
for testsetname, testv in testyaml.items():
for testname, insn in testv.items():
cmd = shlex.split(insn['command'])