Skip to content

Commit 66ec87e

Browse files
committed
Assume a test always is allowed 1 attempt instead of None
1 parent 1eb0b45 commit 66ec87e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/utils/lit/lit/Test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class Result(object):
152152
"""Wrapper for the results of executing an individual test."""
153153

154154
def __init__(
155-
self, code, output="", elapsed=None, attempts=None, max_allowed_attempts=None
155+
self, code, output="", elapsed=None, attempts=1, max_allowed_attempts=None
156156
):
157157
# The result code.
158158
self.code = code

0 commit comments

Comments
 (0)