Test fails because it uses pyyaml wrong
Closed this issue · 1 comments
dvzrv commented
Upon trying to package 1.7.0 for Arch Linux I ran the test suite.
Unfortunately test_generate_template uses pyyaml wrong, by attempting to use load()
without a loader (see documentation). It is unclear how that test has ever passed NXP's internal CI, as at least the latest versions of pyyaml do not support calling load()
like that.
mwsk commented
This has been solved in 1.7.1 release using: safe_load()
data = yaml.safe_load(f)