Home
last modified time | relevance | path

Searched refs:_MAX_LENGTH (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/unittest/
Dutil.py8 _MAX_LENGTH = 80 variable
13 _MIN_DIFF_LEN = _MAX_LENGTH - \
27 if maxlen <= _MAX_LENGTH:
33 common_len = _MAX_LENGTH - \
37 (maxlen - prefixlen) < _MAX_LENGTH
50 if not short or len(result) < _MAX_LENGTH:
52 return result[:_MAX_LENGTH] + ' [truncated]...'
/external/python/cpython2/Lib/unittest/
Dutil.py7 _MAX_LENGTH = 80 variable
13 if not short or len(result) < _MAX_LENGTH:
15 return result[:_MAX_LENGTH] + ' [truncated]...'