mirror of
https://github.com/python/cpython.git
synced 2025-11-09 18:11:38 +00:00
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.)
This commit is contained in:
parent
520d8ddd97
commit
2b6377912e
1 changed files with 5 additions and 0 deletions
|
|
@ -344,6 +344,11 @@ def main(tests=None, testdir=None, verbose=0, quiet=False, generate=False,
|
||||||
tests = tests[:1]
|
tests = tests[:1]
|
||||||
if randomize:
|
if randomize:
|
||||||
random.shuffle(tests)
|
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:
|
if trace:
|
||||||
import trace
|
import trace
|
||||||
tracer = trace.Trace(ignoredirs=[sys.prefix, sys.exec_prefix],
|
tracer = trace.Trace(ignoredirs=[sys.prefix, sys.exec_prefix],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue