summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorEdward Loper <edloper@gradient.cis.upenn.edu>2004-08-26 01:31:56 (GMT)
committerEdward Loper <edloper@gradient.cis.upenn.edu>2004-08-26 01:31:56 (GMT)
commit5662929a4268efdeed21c45366e6a632926a275f (patch)
tree70a06f63712264aea8f541c7216dc08b6372aa70 /Lib/test
parentaacf0833886c30f900fe18db1367d887cc0d1172 (diff)
downloadcpython-5662929a4268efdeed21c45366e6a632926a275f.zip
cpython-5662929a4268efdeed21c45366e6a632926a275f.tar.gz
cpython-5662929a4268efdeed21c45366e6a632926a275f.tar.bz2
Shortened diff output for unified & context diffs
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_doctest.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/Lib/test/test_doctest.py b/Lib/test/test_doctest.py
index 7884c04..29c3ec2 100644
--- a/Lib/test/test_doctest.py
+++ b/Lib/test/test_doctest.py
@@ -971,9 +971,7 @@ and actual outputs to be displayed using a unified diff:
Line 2, in f
Failed example:
print '\n'.join('abcdefg')
- Differences (unified diff):
- --- Expected
- +++ Got
+ Differences (unified diff with -expected +actual):
@@ -1,8 +1,8 @@
a
-B
@@ -998,9 +996,7 @@ and actual outputs to be displayed using a context diff:
Line 2, in f
Failed example:
print '\n'.join('abcdefg')
- Differences (context diff):
- *** Expected
- --- Got
+ Differences (context diff with expected followed by actual):
***************
*** 1,8 ****
a