[U-Boot] [PATCHv3 08/13] test/py: test_efi_selftest.py: Updates for python 3 support

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

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

> - In python 3 you must use raw strings for regex as other forms are
>   deprecated and would require further changes to the pattern here.
>   In one case this lets us have a simpler match pattern.
> - As strings are now Unicode our complex tests (Euro symbol,
>   SHIFT+ALT+FN 5) we need to declare that as a bytes string and then
>   decode it for use.
> Cc: Heinrich Schuchardt <xypron.glpk at gmx.de>
> 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!

-------------- 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/975b105e/attachment.sig>

More information about the U-Boot mailing list