[Patches] [ python-Patches-813200 ] Fix test_tempfile: space in Win32 install path bug #811082

SourceForge.net noreply at sourceforge.net
Tue Oct 21 17:59:35 EDT 2003


Patches item #813200, was opened at 2003-09-26 19:59
Message generated for change (Comment added) made by midramas
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=813200&group_id=5470

Category: Tests
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Bartl (midramas)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix test_tempfile: space in Win32 install path bug #811082

Initial Comment:
Fix: 
 
- corrected arguments passed to spawnl function and 
added comment to explain tricky win32 behaviour 
 
Bug description: 
 
test_tempfile.py fails on XP (probably other 
platforms too) when Python is installed into \Program 
Files\Python2.3 

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

>Comment By: Michael Bartl (midramas)
Date: 2003-10-21 23:59

Message:
Logged In: YES 
user_id=31511

Stupid me! As written in the comment the fix only applies 
for windows so the OS should have been checked. Uploaded a 
new patch, which was tested on Linux & Windows XP. 

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

Comment By: Martin v. Löwis (loewis)
Date: 2003-10-18 20:09

Message:
Logged In: YES 
user_id=21627

The patch is incorrect. On Unix, I get

"/home/martin/work/py2.4/python": can't open file
'"/home/martin/work/py2.4/Lib/test/tf_inherit_check.py"'
test test_tempfile failed -- Traceback (most recent call last):
  File "/home/martin/work/py2.4/Lib/test/test_tempfile.py",
line 304, in test_noinherit
    self.failIf(retval > 0, "child process reports failure")
  File "/home/martin/work/py2.4/Lib/unittest.py", line 288,
in failIf
    if expr: raise self.failureException, msg
AssertionError: child process reports failure


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

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



More information about the Patches mailing list