]> granicus.if.org Git - python/commit
Make test_compileall more robust by using -S to keep sys.path minimized.
authorR. David Murray <rdmurray@bitdance.com>
Mon, 20 Dec 2010 18:08:59 +0000 (18:08 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Mon, 20 Dec 2010 18:08:59 +0000 (18:08 +0000)
commitbf9004483d20b7d17ea589851337a2207e786fb8
tree800c29557e664a28ef9646a102d01d13aeff14ab
parent01094e1fe4893b0563f9b14537e487b6538233d6
Make test_compileall more robust by using -S to keep sys.path minimized.

Arfrever Taifersar Arahesis reported that test_compileall failed during Gentoo
install because it was tyring to write .pyc files to a read-only system
directory during test_no_args_compiles_path.  Having subprocess call python
with -S should eliminate the system directories from the path.
Lib/test/test_compileall.py