Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/unittest/
Dcase.py916 firstlines = first.splitlines(True)
918 if len(firstlines) == 1 and first.strip('\r\n') == first:
919 firstlines = [first + '\n']
923 diff = '\n' + ''.join(difflib.ndiff(firstlines, secondlines))
/external/python/cpython3/Lib/unittest/
Dcase.py1203 firstlines = first.splitlines(keepends=True)
1205 if len(firstlines) == 1 and first.strip('\r\n') == first:
1206 firstlines = [first + '\n']
1209 diff = '\n' + ''.join(difflib.ndiff(firstlines, secondlines))
/external/python/cpython3/Lib/test/
Dtest_traceback.py124 def do_test(firstlines, message, charset, lineno): argument
131 """.format(firstlines, message))