]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa: open JSON to parse in a context manager
authorRoss Burton <ross.burton@arm.com>
Thu, 11 Dec 2025 17:59:06 +0000 (17:59 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 15 Dec 2025 18:00:31 +0000 (18:00 +0000)
commite96baf588dfa90d366e94f2a72ec8941e397c596
treef9cf565853faeb545cc9f42d0e8373675045b462
parent3be89cd0fa888ff222548c46883cdad9c40442b5
oeqa: open JSON to parse in a context manager

Use context managers to open the .json files we're about to parse, so
that python doesn't warn about unclosed files.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/testexport.bbclass
meta/lib/oeqa/sdk/testmetaidesupport.py
meta/lib/oeqa/sdk/testsdk.py
meta/lib/oeqa/sdkext/testsdk.py