Create a directory with no write perms for TestAndroidConfigUtil.
Review Request #1796 - Created Feb. 19, 2015 and submitted
The original test assumed we would have no write permissions outside of home, which turned out not to be a safe assumption. I added the IOError to the exception catch in AndroidConfigUtil. The OSError is raised from the safe_open, if there is no permission to make dirs. The IOError is for cases where the directories exist but pants does not have permission to write there.
PANTS_DEV=1 ./pants test tests/python/pants_test/android::
Travis passed: https://travis-ci.org/pantsbuild/pants/builds/51419786
respond to feedback. No functional changes, just improve docstring.
Revision 2 (+9 -5)