summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2006-06-09 03:09:42 (GMT)
committerTim Peters <tim.peters@gmail.com>2006-06-09 03:09:42 (GMT)
commit2b6377912ea26d67d6d4070cee6c21dbde0e7df5 (patch)
treee19fcbdb89f23829679f0175812a06e7721838c4 /Lib
parent520d8ddd970a9b1da031070730151f6f5065cb47 (diff)
downloadcpython-2b6377912ea26d67d6d4070cee6c21dbde0e7df5.zip
cpython-2b6377912ea26d67d6d4070cee6c21dbde0e7df5.tar.gz
cpython-2b6377912ea26d67d6d4070cee6c21dbde0e7df5.tar.bz2
To boost morale :-), force test_optparse to run immediately
after test_file until we can figure out how to fix it. (See python-dev; at the moment we don't even know which checkin caused the problem.)
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/test/regrtest.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index ca4a3b5..d146eb0 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -344,6 +344,11 @@ def main(tests=None, testdir=None, verbose=0, quiet=False, generate=False,
tests = tests[:1]
if randomize:
random.shuffle(tests)
+ # XXX Temporary hack to force test_optparse to run immediately
+ # XXX after test_file. This should go away as soon as we fix
+ # XXX whatever it is that's causing that to fail.
+ tests.remove("test_file")
+ tests.insert(tests.index("test_optparse"), "test_file")
if trace:
import trace
tracer = trace.Trace(ignoredirs=[sys.prefix, sys.exec_prefix],