[Python-checkins] CVS: python/dist/src/Lib/test test_support.py,1.34,1.35

Guido van Rossum gvanrossum@users.sourceforge.net
Tue, 25 Sep 2001 09:21:41 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv11517

Modified Files:
	test_support.py 
Log Message:
Set sys.save_stdout (to sys.stdout), so doctest-using tests can be run
standalone.


Index: test_support.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_support.py,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** test_support.py	2001/09/21 20:45:44	1.34
--- test_support.py	2001/09/25 16:21:39	1.35
***************
*** 3,6 ****
--- 3,8 ----
  import sys
  
+ sys.save_stdout = sys.stdout
+ 
  class Error(Exception):
      """Base class for regression test exceptions."""