Home | History | Annotate | Download | only in python2.7

Lines Matching refs:want_lines

687         want_lines = want.split('\n')
688 if len(want_lines) > 1 and re.match(r' *$', want_lines[-1]):
689 del want_lines[-1] # forget final newline & spaces after it
690 self._check_prefix(want_lines, ' '*indent, name,
692 want = '\n'.join([wl[indent:] for wl in want_lines])
1612 want_lines = want.splitlines(True) # True == keep line ends
1616 diff = difflib.unified_diff(want_lines, got_lines, n=2)
1620 diff = difflib.context_diff(want_lines, got_lines, n=2)
1625 diff = list(engine.compare(want_lines, got_lines))