]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
patchtest: test_metadata: fix invalid escape sequences
authorTrevor Gamblin <tgamblin@baylibre.com>
Tue, 9 Apr 2024 12:03:03 +0000 (08:03 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 23 Apr 2024 12:33:46 +0000 (13:33 +0100)
commit2d64317835a768898aac592b24fcbdfaf6c8357a
treec8b7950b677726c83e1fd34e88620a4b7f08087f
parentd2159f92ddbb6b999c1d14ac62647b4a35360377
patchtest: test_metadata: fix invalid escape sequences

Clear up the following warnings seen during patchtest runs:

|/workspace/yocto/poky/meta/lib/patchtest/tests/test_metadata.py:21: SyntaxWarning: invalid escape sequence '\+'
|  add_mark = pyparsing.Regex('\+ ')
|/workspace/yocto/poky/meta/lib/patchtest/tests/test_metadata.py:26: SyntaxWarning: invalid escape sequence '\:'
|  git_regex = pyparsing.Regex('^git\:\/\/.*')

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/lib/patchtest/tests/test_metadata.py