twister: Use raw string and remove pylint disable
Avoid the pylint anomalous-backslash-in-string warning by using a raw string. Signed-off-by: Jeremy Bettis <jbettis@google.com>
This commit is contained in:
parent
6ae34c9176
commit
cd265fd603
1 changed files with 1 additions and 2 deletions
|
@ -24,8 +24,7 @@ logger.setLevel(logging.DEBUG)
|
|||
_WINDOWS = platform.system() == 'Windows'
|
||||
|
||||
|
||||
# pylint: disable=anomalous-backslash-in-string
|
||||
result_re = re.compile(".*(PASS|FAIL|SKIP) - (test_)?(.*) in (\\d*[.,]?\\d*) seconds")
|
||||
result_re = re.compile(r".*(PASS|FAIL|SKIP) - (test_)?(.*) in (\d*[.,]?\d*) seconds")
|
||||
class Harness:
|
||||
GCOV_START = "GCOV_COVERAGE_DUMP_START"
|
||||
GCOV_END = "GCOV_COVERAGE_DUMP_END"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue