mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Whitespace normalization.
This commit is contained in:
parent
1e277ee3bd
commit
d1b7827216
5 changed files with 139 additions and 139 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue