Index: test/message/testcfg.py |
diff --git a/test/message/testcfg.py b/test/message/testcfg.py |
index 11c0d19a3c8aefb96ad5874188799f938c79b2dd..411f71ceb2be179e25e8e8f0bffc4aad30debbc5 100644 |
--- a/test/message/testcfg.py |
+++ b/test/message/testcfg.py |
@@ -95,7 +95,8 @@ class MessageTestSuite(testsuite.TestSuite): |
env = { "basename": os.path.basename(testpath + ".js") } |
if len(expected_lines) != len(actual_lines): |
return True |
- for (expected, actual) in itertools.izip(expected_lines, actual_lines): |
+ for (expected, actual) in itertools.izip_longest( |
+ expected_lines, actual_lines, fillvalue=''): |
pattern = re.escape(expected.rstrip() % env) |
pattern = pattern.replace("\\*", ".*") |
pattern = "^%s$" % pattern |