summaryrefslogtreecommitdiff
path: root/test/py/tests/test_fs/conftest.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-10-24 11:59:23 -0400
committerTom Rini <trini@konsulko.com>2019-10-30 17:48:47 -0400
commit1813ace6fcc46097d1709a775e72948fcbf52fee (patch)
tree43cf7491a3df5bafacd7bc52f1c05acdb1312429 /test/py/tests/test_fs/conftest.py
parent8060209a9278593519f73ba763e67f7aa219a732 (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