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!
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 @@
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()