[Patches] [ python-Patches-1520904 ] Fix tests that assume they can write to Lib/test

SourceForge.net noreply at sourceforge.net
Thu Aug 31 13:07:20 CEST 2006


Patches item #1520904, was opened at 2006-07-12 00:53
Message generated for change (Comment added) made by splitscreen
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1520904&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tests
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Douglas Greiman (dgreiman)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix tests that assume they can write to Lib/test

Initial Comment:
A number of bsddb tests, as well as test_tarfile,
create temporary files in Lib/ or
{prefix}/lib/pythonX.Y/ .  This change uses
tempfile.gettempdir() instead.

Tested on RedHat 9.0 Linux on x86.


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

Comment By: Matt Fleming (splitscreen)
Date: 2006-08-31 11:07

Message:
Logged In: YES 
user_id=1126061

This looks fine to me, and a worthwhile change.

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

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


More information about the Patches mailing list