summaryrefslogtreecommitdiff
path: root/Tools/scripts/diff.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-08-26 05:44:27 +0000
committerTim Peters <tim.peters@gmail.com>2004-08-26 05:44:27 +0000
commite7edcb8e22126f3afed3c9976a11bb5f58dcbba0 (patch)
treee1eb6c097801f80d144c2f992b72fb6dd439571f /Tools/scripts/diff.py
parent4085f030bdc6245c9983e6c2ecc37d8f2fcd9f44 (diff)
downloadcpython-git-e7edcb8e22126f3afed3c9976a11bb5f58dcbba0.tar.gz
output_difference(): In fancy-diff cases, the way this split expected &
actual output into lines created spurious empty lines at the ends of each. Those matched, but the fancy diffs had surprising line counts (1 larger than expected), and tests kept having to slam <BLANKLINE> into the expected output to account for this. Using the splitlines() string method with keepends=True instead accomplishes what was intended directly.
Diffstat (limited to 'Tools/scripts/diff.py')
0 files changed, 0 insertions, 0 deletions