mirror of https://github.com/python/cpython.git
Set sys.save_stdout (to sys.stdout), so doctest-using tests can be run
standalone.
This commit is contained in:
parent
9081bb1d21
commit
ad39aba2f6
|
@ -2,6 +2,8 @@
|
|||
|
||||
import sys
|
||||
|
||||
sys.save_stdout = sys.stdout
|
||||
|
||||
class Error(Exception):
|
||||
"""Base class for regression test exceptions."""
|
||||
|
||||
|
|
Loading…
Reference in New Issue