diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-09-28 20:14:46 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-09-28 20:14:46 (GMT) |
commit | 9390cc15da5cd6920bd41bb4cd146d5d0601345f (patch) | |
tree | 4e8ade79c9e6c4c8bbdcf6e128ba0187a49905b9 /Lib/test | |
parent | b2ad1c8b4d9d6ea997b7015ec57b0a062c90af22 (diff) | |
download | cpython-9390cc15da5cd6920bd41bb4cd146d5d0601345f.zip cpython-9390cc15da5cd6920bd41bb4cd146d5d0601345f.tar.gz cpython-9390cc15da5cd6920bd41bb4cd146d5d0601345f.tar.bz2 |
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!
Diffstat (limited to 'Lib/test')
-rwxr-xr-x | Lib/test/regrtest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 1d12739..7b29854 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -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() |