[Python-checkins] python/dist/src/Lib/test test_doctest.py, 1.53, 1.54

birkenfeld@users.sourceforge.net birkenfeld at users.sourceforge.net
Mon Jun 27 01:09:54 CEST 2005


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6155/Lib/test

Modified Files:
	test_doctest.py 
Log Message:
Fix test cases for doctest.



Index: test_doctest.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_doctest.py,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- test_doctest.py	21 Dec 2004 23:46:27 -0000	1.53
+++ test_doctest.py	26 Jun 2005 23:09:51 -0000	1.54
@@ -1517,6 +1517,7 @@
     ## 44
     #
     # Yee ha!
+    <BLANKLINE>
 
     >>> name = 'test.test_doctest.SampleNewStyleClass'
     >>> print doctest.testsource(test.test_doctest, name)
@@ -1525,6 +1526,7 @@
     ## 1
     ## 2
     ## 3
+    <BLANKLINE>
 
     >>> name = 'test.test_doctest.SampleClass.a_classmethod'
     >>> print doctest.testsource(test.test_doctest, name)
@@ -1534,6 +1536,7 @@
     print SampleClass(0).a_classmethod(10)
     # Expected:
     ## 12
+    <BLANKLINE>
 """
 
 def test_debug(): r"""



More information about the Python-checkins mailing list