[U-Boot] [PATCHv2 13/13] test/py: Use raw strings more to avoid deprecation warnings

Simon Glass sjg at chromium.org
Thu Oct 24 00:59:24 UTC 2019


On Tue, 22 Oct 2019 at 21:20, Tom Rini <trini at konsulko.com> wrote:
>
> We have two further uses of raw string usage in the test/py codebase
> that are used under CI.  The first of which is under the bind test and
> is a direct update.  The second of which is to strip VT100 codes from
> the match buffer.  While switching this to a raw string is also a direct
> update, the comment it notes that problems were encountered on Ubuntu
> 14.04 (and whatever Python 2 version that was) that required slight
> tweaks to the regex.  Replace that now that we're saying Python 3.5 is
> the minimum.
>
> Cc: Stephen Warren <swarren at nvidia.com>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> Changes in v2:
> - New patch
> ---
>  test/py/tests/test_bind.py | 4 ++--
>  test/py/u_boot_spawn.py    | 5 +----
>  2 files changed, 3 insertions(+), 6 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>
Tested on sandbox:
Tested-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list