mirror of https://github.com/python/cpython.git
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:
parent
b2ad1c8b4d
commit
9390cc15da
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue