[issue17746] test_shutil.TestWhich.test_non_matching_mode fails when running as root

2013-04-16 Thread Jean-Baptiste Lallement
Jean-Baptiste Lallement added the comment: Reference on LP: https://bugs.launchpad.net/ubuntu/+source/python3.3/+bug/1169458 -- ___ Python tracker <http://bugs.python.org/issue17

[issue17746] test_shutil.TestWhich.test_non_matching_mode fails when running as root

2013-04-16 Thread Jean-Baptiste Lallement
New submission from Jean-Baptiste Lallement: The test test_shutil.TestWhich.test_non_matching_mode fails when running as root because the temporary file is always writeable for this user. To reproduce on linux: $ sudo python3.3 -E -Wd -tt /usr/lib/python3.3/test/regrtest.py -v -w test_shutil