Commit 79c3bd80 authored by Antoine Pitrou's avatar Antoine Pitrou

Backport fix for buglet from py3k

parent 8839fd73
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment