1
0
forked from Mirror/wren

Initialize match in the test script.

Thanks, Michel!
This commit is contained in:
Bob Nystrom
2015-12-26 20:08:20 -08:00
parent 0ac793d4f8
commit 8203baf7bd

View File

@ -182,6 +182,7 @@ class Test:
# Make sure the stack trace has the right line. Skip over any lines that
# come from builtin libraries.
match = False
stack_lines = error_lines[line + 1:]
for stack_line in stack_lines:
match = STACK_TRACE_PATTERN.search(stack_line)