mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-26 06:48:53 +00:00
The regex pattern for extracting speedometer score causes these exceptions due to unescaped \d and \/ sequences: wa/workloads/speedometer/__init__.py:109: SyntaxWarning: invalid escape sequence '\d' '(?:text|content-desc)="(?P<value>\d+.\d+)"[^>]*' wa/workloads/speedometer/__init__.py:110: SyntaxWarning: invalid escape sequence '\/' '(?(Z)|resource-id="result-number")[^>]*\/>' Fix the problem via defining the regex pattern as raw string literal to properly escape backslashes. Signed-off-by: Metin Kaya <metin.kaya@arm.com>