summaryrefslogtreecommitdiffstats
path: root/Lib/doctest.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-08-07 06:03:09 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-08-07 06:03:09 (GMT)
commitd1b7827216f6b57b90fc6751e4b1c4d246e63631 (patch)
treecdfc2538df2c7de0a9d57ba9450e03529387b001 /Lib/doctest.py
parent1e277ee3bd76b82d74214ab2a415a3516c168cfa (diff)
downloadcpython-d1b7827216f6b57b90fc6751e4b1c4d246e63631.zip
cpython-d1b7827216f6b57b90fc6751e4b1c4d246e63631.tar.gz
cpython-d1b7827216f6b57b90fc6751e4b1c4d246e63631.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/doctest.py')
-rw-r--r--Lib/doctest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/doctest.py b/Lib/doctest.py
index ff068a1..9cc7fed 100644
--- a/Lib/doctest.py
+++ b/Lib/doctest.py
@@ -1601,7 +1601,7 @@ class UnexpectedException(Exception):
def __str__(self):
return str(self.test)
-
+
class DebugRunner(DocTestRunner):
r"""Run doc tests but raise an exception as soon as there is a failure.
@@ -1673,7 +1673,7 @@ class DebugRunner(DocTestRunner):
Traceback (most recent call last):
...
UnexpectedException: <DocTest foo from foo.py:0 (2 examples)>
-
+
>>> del test.globs['__builtins__']
>>> test.globs
{'x': 2}