Kaydet (Commit) 9390cc15 authored tarafından Tim Peters's avatar Tim Peters

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!
üst b2ad1c8b
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment