diff options
author | Simon Glass <sjg@chromium.org> | 2019-05-14 15:53:53 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2019-07-10 16:52:58 -0600 |
commit | e6dca5e8f8d4160a6efed05f5275426e2d274542 (patch) | |
tree | 5555060fd0cf542f381345aa2e8bbd34ca8ffe4d /lib/string.c | |
parent | 7ebb45c7e2e1b8355ec4802e0802ae7b383a6ea5 (diff) |
patman: Adjust functional tests for Python 3
Change the code so that it works on both Python 2 and Python 3. This works
by using unicode instead of latin1 for the test input, and ensuring that
the output is converted to a string rather than a unicode object on
Python 2.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions