1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-25 22:38:49 +00:00
Metin Kaya 5670e571e1 workloads/speedometer: Fix SyntaxWarning exceptions in regex pattern
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>
2025-02-17 16:41:58 -06:00
..
2018-07-04 16:33:31 +01:00
2018-07-06 14:39:41 +01:00
2024-01-09 12:20:26 -08:00
2024-01-09 12:20:26 -08:00
2019-07-18 15:17:24 +01:00
2018-07-06 14:39:41 +01:00
2018-07-04 16:33:31 +01:00
2018-07-04 16:33:31 +01:00
2019-05-28 09:33:15 +01:00
2017-02-21 15:02:28 +00:00
2018-07-06 14:39:41 +01:00