Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/unittest/
Dutil.py18 def _shorten(s, prefixlen, suffixlen): function
38 prefix = _shorten(prefix, _MIN_BEGIN_LEN, common_len)
41 prefix = _shorten(prefix, _MIN_BEGIN_LEN, _MIN_COMMON_LEN)
42 return tuple(prefix + _shorten(s[prefixlen:], _MIN_DIFF_LEN, _MIN_END_LEN)