diff options
Diffstat (limited to 'meta/lib/patchtest/tests/base.py')
| -rw-r--r-- | meta/lib/patchtest/tests/base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/patchtest/tests/base.py b/meta/lib/patchtest/tests/base.py index aecbbc4aae..424e61b5be 100644 --- a/meta/lib/patchtest/tests/base.py +++ b/meta/lib/patchtest/tests/base.py | |||
| @@ -34,8 +34,8 @@ class PatchtestOEError(Exception): | |||
| 34 | class Base(unittest.TestCase): | 34 | class Base(unittest.TestCase): |
| 35 | # if unit test fails, fail message will throw at least the following JSON: {"id": <testid>} | 35 | # if unit test fails, fail message will throw at least the following JSON: {"id": <testid>} |
| 36 | 36 | ||
| 37 | endcommit_messages_regex = re.compile('\(From \w+-\w+ rev:|(?<!\S)Signed-off-by|(?<!\S)---\n') | 37 | endcommit_messages_regex = re.compile(r'\(From \w+-\w+ rev:|(?<!\S)Signed-off-by|(?<!\S)---\n') |
| 38 | patchmetadata_regex = re.compile('-{3} \S+|\+{3} \S+|@{2} -\d+,\d+ \+\d+,\d+ @{2} \S+') | 38 | patchmetadata_regex = re.compile(r'-{3} \S+|\+{3} \S+|@{2} -\d+,\d+ \+\d+,\d+ @{2} \S+') |
| 39 | 39 | ||
| 40 | 40 | ||
| 41 | @staticmethod | 41 | @staticmethod |
