mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-23 13:56:20 +00:00
test: Correct regex string in test_spi
Use an 'r' string to avoid a warning: test/py/tests/test_spi.py:698: DeprecationWarning: invalid escape sequence '\s' Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Love Kumar <love.kumar@amd.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
8f2a9fa7d6
commit
5e92fbcefc
1 changed files with 1 additions and 1 deletions
|
@ -695,7 +695,7 @@ def test_spi_negative(u_boot_console):
|
|||
|
||||
# Read to relocation address
|
||||
output = u_boot_console.run_command('bdinfo')
|
||||
m = re.search('relocaddr\s*= (.+)', output)
|
||||
m = re.search(r'relocaddr\s*= (.+)', output)
|
||||
res_area = int(m.group(1), 16)
|
||||
|
||||
start = 0
|
||||
|
|
Loading…
Add table
Reference in a new issue