summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/auto/testlib/selftests/generate_expected_output.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/testlib/selftests/generate_expected_output.py b/tests/auto/testlib/selftests/generate_expected_output.py
index bf1e808e22..3212bcda2e 100755
--- a/tests/auto/testlib/selftests/generate_expected_output.py
+++ b/tests/auto/testlib/selftests/generate_expected_output.py
@@ -57,7 +57,7 @@ isWindows = sys.platform == 'win32'
replacements = [
(qtver, r'@INSERT_QT_VERSION_HERE@'),
(rootPath.encode('unicode-escape').decode('utf-8'), r''),
- (r'<Duration msecs="\d+"/>', r'<Duration msecs="0"/>'),
+ (r'( *)<Duration msecs="[\d\.]+"/>', r'\1<Duration msecs="0"/>'),
]
extraArgs = {