]> 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>
Tue, 21 Dec 2010 18:24:33 +0000 (18:24 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Tue, 21 Dec 2010 18:24:33 +0000 (18:24 +0000)
commite0436bcb24e266b9391c7fd866224adcb33c5d34
tree09f0c754395812edf7c4568dc3dd6f51b0af0673
parent73a559d0c9918671ec0cc86afc8cc831a5dd47cc
Make test_compileall more robust by using -S to keep sys.path minimized.

Try this again, hopefully the right way this time.

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 the tests call python
with -S should eliminate the system directories from the path.
Lib/test/test_compileall.py