Author vinay.sajip
Recipients brett.cannon, eli.bendersky, eric.araujo, ezio.melotti, giampaolo.rodola, ncoghlan, pitrou, python-dev, r.david.murray, sandro.tosi, vinay.sajip
Date 2011-08-01.18:48:11
SpamBayes Score 3.46009e-06
Marked as misclassified No
Message-id <1312224492.14.0.755934633459.issue11049@psf.upfronthosting.co.za>
In-reply-to
Content
test_support fails in my environment, only when run from an installed Python, due to permissions issues:

======================================================================
ERROR: test_forget (test.test_support.TestSupport)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.3/test/test_support.py", line 59, in test_forget
    support.forget("smtplib")
  File "/usr/local/lib/python3.3/test/support.py", line 248, in forget
    unlink(imp.cache_from_source(source, debug_override=True))
  File "/usr/local/lib/python3.3/test/support.py", line 205, in unlink
    os.unlink(filename)
OSError: [Errno 13] Permission denied: '/usr/local/lib/python3.3/__pycache__/smtplib.cpython-33.pyc'

The issue is similar to #12331, which was recently fixed.
History
Date User Action Args
2011-08-01 18:48:12vinay.sajipsetrecipients: + vinay.sajip, brett.cannon, ncoghlan, pitrou, giampaolo.rodola, ezio.melotti, eric.araujo, r.david.murray, eli.bendersky, sandro.tosi, python-dev
2011-08-01 18:48:12vinay.sajipsetmessageid: <1312224492.14.0.755934633459.issue11049@psf.upfronthosting.co.za>
2011-08-01 18:48:11vinay.sajiplinkissue11049 messages
2011-08-01 18:48:11vinay.sajipcreate