Backport fix for buglet from py3k

This commit is contained in:
Antoine Pitrou 2009-06-29 14:14:56 +00:00
parent 8839fd7372
commit 79c3bd80ed
1 changed files with 2 additions and 1 deletions

View File

@ -428,7 +428,8 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
if not quiet:
print test
sys.stdout.flush()
popen = Popen([sys.executable, '-m', 'test.regrtest',
# -E is needed by some tests, e.g. test_import
popen = Popen([sys.executable, '-E', '-m', 'test.regrtest',
'--slaveargs', json.dumps(args_tuple)],
stdout=PIPE, stderr=STDOUT,
universal_newlines=True, close_fds=True)