[Python-bugs-list] [ python-Bugs-731403 ] test_tarfile writes in Lib/test directory

SourceForge.net noreply@sourceforge.net
Tue, 10 Jun 2003 16:57:30 -0700


Bugs item #731403, was opened at 2003-05-02 08:20
Message generated for change (Settings changed) made by bcannon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=731403&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jack Jansen (jackjansen)
>Assigned to: Brett Cannon (bcannon)
Summary: test_tarfile writes in Lib/test directory

Initial Comment:
Test_tarfile writes a file in the Lib/test directory, which fails if Python 
has been installed read-only. It would be better if it used 
test_support.TESTFN as the basis for a filename to write to.

Here's the message for a binary install on MacOSX (framework 
Python):

test test_tarfile crashed -- exceptions.IOError: [Errno 13] Permission 
denied: '/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/test/testtar.tar.gz'


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=731403&group_id=5470