summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_doctest.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-06-26 23:09:51 (GMT)
committerGeorg Brandl <georg@python.org>2005-06-26 23:09:51 (GMT)
commitecf93c765c8c8675ac2276d26679ec3998831744 (patch)
tree009d58387125a072c317bc81a26478cf07a2ecbd /Lib/test/test_doctest.py
parent5284b532d1dfc9efaa25a1ef955015011f885125 (diff)
downloadcpython-ecf93c765c8c8675ac2276d26679ec3998831744.zip
cpython-ecf93c765c8c8675ac2276d26679ec3998831744.tar.gz
cpython-ecf93c765c8c8675ac2276d26679ec3998831744.tar.bz2
Fix test cases for doctest.
Diffstat (limited to 'Lib/test/test_doctest.py')
-rw-r--r--Lib/test/test_doctest.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_doctest.py b/Lib/test/test_doctest.py
index fe4d863..fc4841a 100644
--- a/Lib/test/test_doctest.py
+++ b/Lib/test/test_doctest.py
@@ -1517,6 +1517,7 @@ words and expected output are converted to comments:
## 44
#
# Yee ha!
+ <BLANKLINE>
>>> name = 'test.test_doctest.SampleNewStyleClass'
>>> print doctest.testsource(test.test_doctest, name)
@@ -1525,6 +1526,7 @@ words and expected output are converted to comments:
## 1
## 2
## 3
+ <BLANKLINE>
>>> name = 'test.test_doctest.SampleClass.a_classmethod'
>>> print doctest.testsource(test.test_doctest, name)
@@ -1534,6 +1536,7 @@ words and expected output are converted to comments:
print SampleClass(0).a_classmethod(10)
# Expected:
## 12
+ <BLANKLINE>
"""
def test_debug(): r"""