Merge pull request #15370 from aabadie/pr/tests/trace_script_cleanup

tests/trace: use raw strings in expect regexp
This commit is contained in:
Alexandre Abadie 2020-11-03 19:17:08 +01:00 committed by GitHub
commit a9389e0cbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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__":