[U-Boot] [PATCHv3 06/13] test/py: Manual python3 fixes

Tom Rini trini at konsulko.com
Fri Nov 1 13:32:11 UTC 2019


On Thu, Oct 24, 2019 at 11:59:21AM -0400, Tom Rini wrote:

> - Modern pytest is more visible in telling us about parameters that we
>   had not described, so describe a few more.
> - ConfigParser.readfp(...) is now configparser.read_file(...)
> - As part of the "strings vs bytes" conversions in Python 3, we use the
>   default encoding/decoding of utf-8 but in some places tell Python to
>   replace problematic conversions rather than throw a fatal error.
> - Fix a typo noticed while doing the above ("tot he" -> "to the").
> - As suggested by Stephen, re-alphabetize the import list
> - Per Heinrich, replace how we write contents in test_fit.py
> 
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Tested-by: Stephen Warren <swarren at nvidia.com>
> Tested-by: Simon Glass <sjg at chromium.org> [on sandbox]
> Signed-off-by: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191101/d7e71fa7/attachment.sig>


More information about the U-Boot mailing list