[PATCH 04/17] test: Correct pylint warnings in fs_helper

Simon Glass sjg at chromium.org
Sat Nov 5 20:55:49 CET 2022


Tidy this up so that pylint is happy. Use hex for the 1MB size and make
sure it is not a floating-point value.

Add a little main program to allow the code to be tried out, since at
present is only called from a long-running test.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 test/py/tests/fs_helper.py | 38 +++++++++++++++++++++++++-------------
 1 file changed, 25 insertions(+), 13 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list