test: fix pylint errors in u_boot_spawn.py
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 22 Nov 2021 23:01:46 +0000 (00:01 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 26 Nov 2021 21:02:37 +0000 (22:02 +0100)
commit67e9b64701601eefc87f995f706b4cc7c0543312
treeb3412b4ff7f95f063fccbfab16729c0de17568f8
parent09e409810a7f716b105793c74b83c43fda8443f4
test: fix pylint errors in u_boot_spawn.py

* don't inherit from object
* imports should be on the top level
* avoid unused variable names
* avoid unnecessary else after raise

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/py/u_boot_spawn.py