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

Simon Glass
2019-10-24T00:59:17Z

On Tue, 22 Oct 2019 at 21:20, Tom Rini <trini@konsulko.com> 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@gmx.de>
> Signed-off-by: Tom Rini <trini@konsulko.com>
> ---
> Changes in v2:
> - New patch
> ---
> test/py/tests/test_efi_selftest.py | 36 +++++++++++++++---------------
> 1 file changed, 18 insertions(+), 18 deletions(-)

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