Index: test/message/testcfg.py |
diff --git a/test/message/testcfg.py b/test/message/testcfg.py |
index 620328e90d9090f7e2b15f9951915fa06801656f..0576458af24a4e19c23521ef8d1e105f65161a6c 100644 |
--- a/test/message/testcfg.py |
+++ b/test/message/testcfg.py |
@@ -107,6 +107,7 @@ class MessageTestSuite(testsuite.TestSuite): |
expected_lines, actual_lines, fillvalue=''): |
pattern = re.escape(expected.rstrip() % env) |
pattern = pattern.replace("\\*", ".*") |
+ pattern = pattern.replace("\\{NUMBER\\}", "\d(?:\.\d*)?") |
pattern = "^%s$" % pattern |
if not re.match(pattern, actual): |
return True |