[Zope-CMF] running unittests

Chris Withers chrisw@nipltd.com
Wed, 20 Nov 2002 10:52:56 +0000


Yuppie wrote:
> 
> "C:\Programme\Zope260\lib\python\Products\CMFCore\tests\base\testcase.py", 
> line 116, in tearDown
>     rmtree(self.tempname)
>   File "C:\Programme\Zope260\bin\lib\shutil.py", line 128, in rmtree
>     raise exc[0], (exc[1][0], exc[1][1] + ' removing '+cmd[1])
> OSError: [Errno 13] Permission denied removing 
> c:\windows\TEMP\~-361425-1\fake_skins\fake_skin\testPT.pt

Very strange. These files are created by the tests, so I don't see why they 
should be read only :-S

It appears that the copytree provided by@
from shutil import copytree

...doesn't make sure the files that are copied are writeable.

Hmmm... does anyone know how to fix this?

In any case, can you put an issue in the collector so someone fixes it at some 
stage?

cheers,

Chris