test/py: Use raw strings more to avoid deprecation warnings
authorTom Rini <trini@konsulko.com>
Thu, 24 Oct 2019 15:59:28 +0000 (11:59 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 30 Oct 2019 21:48:47 +0000 (17:48 -0400)
commit15579631bc6b644eb504b1d9503174bd06b93439
tree67de67f690b6262b96e088de3a9dc2003d20cf6c
parent085b8978b997a1a901a98926ddbe16459aa6a746
test/py: Use raw strings more to avoid deprecation warnings

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.

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>
test/py/tests/test_bind.py
test/py/u_boot_spawn.py