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!
This commit is contained in:
Tim Peters 2001-09-28 20:14:46 +00:00
parent b2ad1c8b4d
commit 9390cc15da
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ def runtest(test, generate, verbose, quiet, testdir = None):
if not testdir: testdir = findtestdir()
outputdir = os.path.join(testdir, "output")
outputfile = os.path.join(outputdir, test)
if verbose or generate:
if verbose:
cfp = None
else:
cfp = StringIO.StringIO()