From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 1 Nov 2019 09:32:22 -0400 Subject: [U-Boot] [PATCHv3 08/13] test/py: test_efi_selftest.py: Updates for python 3 support In-Reply-To: <20191024155928.28616-9-trini@konsulko.com> References: <20191023032010.27725-1-trini@konsulko.com> <20191024155928.28616-1-trini@konsulko.com> <20191024155928.28616-9-trini@konsulko.com> Message-ID: <20191101133222.GX11173@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Simon Glass > Tested-by: Stephen Warren > Tested-by: Simon Glass [on sandbox] > Signed-off-by: Tom Rini 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: