From 9390cc15da5cd6920bd41bb4cd146d5d0601345f Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Fri, 28 Sep 2001 20:14:46 +0000 Subject: [PATCH] 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! --- Lib/test/regrtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 1d1273985ca..7b2985420d8 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()