summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-02-14 00:43:21 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-02-14 00:43:21 (GMT)
commit60e23f4cfc306ae827bb0d00f13f2a51e244b235 (patch)
treea0e55810c934e2c9e40dafa3b2029d5ddb0a736e /Lib/test
parent0eea16633adab90227826c3dc96b991829665012 (diff)
downloadcpython-60e23f4cfc306ae827bb0d00f13f2a51e244b235.zip
cpython-60e23f4cfc306ae827bb0d00f13f2a51e244b235.tar.gz
cpython-60e23f4cfc306ae827bb0d00f13f2a51e244b235.tar.bz2
Change doctest exception example to one whose detail hasn't changed since 1.5.2.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/output/test_doctest4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/output/test_doctest b/Lib/test/output/test_doctest
index 78f7a20..e2b1394 100644
--- a/Lib/test/output/test_doctest
+++ b/Lib/test/output/test_doctest
@@ -1,10 +1,10 @@
test_doctest
Running doctest.__doc__
-Trying: 1/0
+Trying: [1, 2, 3].remove(42)
Expecting:
Traceback (most recent call last):
File "<stdin>", line 1, in ?
-ZeroDivisionError: integer division or modulo by zero
+ValueError: list.remove(x): x not in list
ok
Trying: x = 12
Expecting: nothing