diff options
author | Tom Rini <trini@konsulko.com> | 2019-10-24 11:59:23 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-10-30 17:48:47 -0400 |
commit | 1813ace6fcc46097d1709a775e72948fcbf52fee (patch) | |
tree | 43cf7491a3df5bafacd7bc52f1c05acdb1312429 /test/py/tests/test_fs/conftest.py | |
parent | 8060209a9278593519f73ba763e67f7aa219a732 (diff) |
test/py: test_efi_selftest.py: Updates for python 3 support
- 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>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Simon Glass <sjg@chromium.org> [on sandbox]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'test/py/tests/test_fs/conftest.py')
0 files changed, 0 insertions, 0 deletions