Merge pull request #15370 from aabadie/pr/tests/trace_script_cleanup
tests/trace: use raw strings in expect regexp
This commit is contained in:
commit
a9389e0cbe
@ -5,8 +5,8 @@ from testrunner import run
|
||||
|
||||
|
||||
def testfunc(child):
|
||||
child.expect("n= 0 t=\ +\d+ v=0x00000000\r\n")
|
||||
child.expect("n= 1 t=\+\ +\d+ v=0x00000001\r\n")
|
||||
child.expect(r"n= 0 t=\ +\d+ v=0x00000000\r\n")
|
||||
child.expect(r"n= 1 t=\+\ +\d+ v=0x00000001\r\n")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user