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

2019-10-23 Thread Simon Glass
On Tue, 22 Oct 2019 at 21:20, 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

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

2019-10-23 Thread Stephen Warren
On 10/22/19 9:20 PM, 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. I'm not sure the code was really correct even for Python 2.

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

2019-10-22 Thread Tom Rini
- 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