summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-09-28 20:14:46 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-09-28 20:14:46 (GMT)
commit9390cc15da5cd6920bd41bb4cd146d5d0601345f (patch)
tree4e8ade79c9e6c4c8bbdcf6e128ba0187a49905b9 /Lib/test
parentb2ad1c8b4d9d6ea997b7015ec57b0a062c90af22 (diff)
downloadcpython-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-xLib/test/regrtest.py2
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()