changeset 51298:8f1983318455

common-pattern: cover "elapsed time" line These are perfect targets for the common-pattern matching.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 13 Dec 2023 13:46:28 +0100
parents 6113221a1dea
children d737bc8a36c9
files tests/common-pattern.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/common-pattern.py	Sun Dec 24 02:43:53 2023 +0100
+++ b/tests/common-pattern.py	Wed Dec 13 13:46:28 2023 +0100
@@ -127,6 +127,10 @@
         br'\b(\d+) total queries in \d.\d\d\d\ds\b',
         lambda m: (br'%s total queries in *.????s (glob)' % m.group(1)),
     ),
+    (
+        br'\belapsed time:  \d+.\d{6} seconds\b',
+        br'elapsed time:  *.?????? seconds (glob)',
+    ),
 ]
 
 # Various platform error strings, keyed on a common replacement string