[U-Boot] [PATCHv2 09/13] test/py: Update test_fs to decode check_output calls

Simon Glass sjg at chromium.org
Thu Oct 24 00:59:18 UTC 2019


On Tue, 22 Oct 2019 at 21:20, Tom Rini <trini at konsulko.com> wrote:
>
> The check_output function from the subprocess Python module by default
> returns data as encoded bytes and leaves decoding to the application.
> Given our uses of the call, it makes the most sense to immediately
> decode the results.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> Changes in v2:
> - New patch
> ---
>  test/py/tests/test_fs/conftest.py | 24 ++++++++++++------------
>  1 file changed, 12 insertions(+), 12 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>
Tested on sandbox:
Tested-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list