[Python-checkins] CVS: python/dist/src/Lib/test/output test_doctest,1.2,1.3

Tim Peters tim_one@users.sourceforge.net
Tue, 13 Feb 2001 16:43:23 -0800


Update of /cvsroot/python/python/dist/src/Lib/test/output
In directory usw-pr-cvs1:/tmp/cvs-serv12602/python/dist/src/lib/test/output

Modified Files:
	test_doctest 
Log Message:
Change doctest exception example to one whose detail hasn't changed since 1.5.2.


Index: test_doctest
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/output/test_doctest,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** test_doctest	2001/02/13 20:54:42	1.2
--- test_doctest	2001/02/14 00:43:21	1.3
***************
*** 1,9 ****
  test_doctest
  Running doctest.__doc__
! Trying: 1/0
  Expecting:
  Traceback (most recent call last):
    File "<stdin>", line 1, in ?
! ZeroDivisionError: integer division or modulo by zero
  ok
  Trying: x = 12
--- 1,9 ----
  test_doctest
  Running doctest.__doc__
! Trying: [1, 2, 3].remove(42)
  Expecting:
  Traceback (most recent call last):
    File "<stdin>", line 1, in ?
! ValueError: list.remove(x): x not in list
  ok
  Trying: x = 12