forked from Mirror/wren
Initialize match in the test script.
Thanks, Michel!
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user