summaryrefslogtreecommitdiffstats
path: root/Lib/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/doctest.py
parent5284b532d1dfc9efaa25a1ef955015011f885125 (diff)
downloadcpython-ecf93c765c8c8675ac2276d26679ec3998831744.zip
cpython-ecf93c765c8c8675ac2276d26679ec3998831744.tar.gz
cpython-ecf93c765c8c8675ac2276d26679ec3998831744.tar.bz2
Fix test cases for doctest.
Diffstat (limited to 'Lib/doctest.py')
-rw-r--r--Lib/doctest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/doctest.py b/Lib/doctest.py
index 5b00ec5..6244fae 100644
--- a/Lib/doctest.py
+++ b/Lib/doctest.py
@@ -2476,6 +2476,7 @@ def script_from_examples(s):
blah
#
# Ho hum
+ <BLANKLINE>
"""
output = []
for piece in DocTestParser().parse(s):