[Python-checkins] CVS: python/dist/src/Lib/test test_doctest2.py,1.1,1.2

Tim Peters tim_one@users.sourceforge.net
2001年10月02日 21:15:30 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv21417/python/Lib/test
Modified Files:
	test_doctest2.py 
Log Message:
Made the classmethod docstring test a bit less trivial.
Index: test_doctest2.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_doctest2.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** test_doctest2.py	2001年10月03日 04:08:26	1.1
--- test_doctest2.py	2001年10月03日 04:15:28	1.2
***************
*** 88,95 ****
 >>> print C.clsm(22) # 18
 22
! >>> print C().clsm(22) # 19
! 22
 """
! return 22
 
 clsm = classmethod(clsm)
--- 88,95 ----
 >>> print C.clsm(22) # 18
 22
! >>> print C().clsm(23) # 19
! 23
 """
! return val
 
 clsm = classmethod(clsm)

AltStyle によって変換されたページ (->オリジナル) /