[Python-checkins] CVS: python/dist/src/Lib/test regrtest.py,1.57,1.58
Tim Peters
tim_one@users.sourceforge.net
2001年9月28日 13:14:48 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv24377/python/Lib/test
Modified Files:
regrtest.py
Log Message:
regrtest's -g option stopped working, during the changes to improve
error-reporting for the classic compare-expected-output tests.
Curiously, the bug consisted of not simplifying the logic enough!
Index: regrtest.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/regrtest.py,v
retrieving revision 1.57
retrieving revision 1.58
diff -C2 -d -r1.57 -r1.58
*** regrtest.py 2001年09月25日 20:05:11 1.57
--- regrtest.py 2001年09月28日 20:14:46 1.58
***************
*** 284,288 ****
outputdir = os.path.join(testdir, "output")
outputfile = os.path.join(outputdir, test)
! if verbose or generate:
cfp = None
else:
--- 284,288 ----
outputdir = os.path.join(testdir, "output")
outputfile = os.path.join(outputdir, test)
! if verbose:
cfp = None
else: