File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,13 +49,13 @@ def _truncate_explanation(
49
49
# Check if truncation required
50
50
input_char_count = len ("" .join (input_lines ))
51
51
# The length of the truncation explanation depends on the number of lines
52
- # removed but is at least 67 characters:
52
+ # removed but is at least 68 characters:
53
53
# The real value is
54
54
# 64 (for the base message:
55
55
# '...\n...Full output truncated (1 line hidden), use '-vv' to show")'
56
56
# )
57
57
# + 1 (for plural)
58
- # + int(math.log10(len(input_lines) - max_lines)) (number of hidden line)
58
+ # + int(math.log10(len(input_lines) - max_lines)) (number of hidden line, at least 1 )
59
59
# + 3 for the '...' added to the truncated line
60
60
# But if there's more than 100 lines it's very likely that we're going to
61
61
# truncate, so we don't need the exact value using log10.
You can’t perform that action at this time.
0 commit comments