[Numpy-tickets] [NumPy] #738: Test trying to write file in wrong location

NumPy numpy-tickets@scipy....
Mon Apr 14 18:21:32 CDT 2008


#738: Test trying to write file in wrong location
--------------------+-------------------------------------------------------
 Reporter:  cdavid  |       Owner:  somebody
     Type:  defect  |      Status:  new     
 Priority:  normal  |   Milestone:  1.0.5   
Component:  Other   |     Version:  none    
 Severity:  major   |    Keywords:          
--------------------+-------------------------------------------------------
 On vista, this causes an error:

 ERROR: test_ValidHTTP
 (numpy.lib.tests.test__datasource.TestDataSourceOpen)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\Program
 Files\Python25\lib\site-packages\numpy\lib\tests\test__datasource.py",
 line 79, in test_ValidHTTP
     assert self.ds.open(valid_httpurl())
   File "C:\Program
 Files\Python25\lib\site-packages\numpy\lib\_datasource.py", line 366,
 in open
     found = self._findfile(path)
   File "C:\Program
 Files\Python25\lib\site-packages\numpy\lib\_datasource.py", line 243,
 in _findfile
     name = self._cache(name)
   File "C:\Program
 Files\Python25\lib\site-packages\numpy\lib\_datasource.py", line 203,
 in _cache
     file(upath, 'w').write(openedurl.read())
 IOError: [Errno 13] Permission denied: '/index.html'

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

 Xp does not complain, but that just should not happen

-- 
Ticket URL: <http://scipy.org/scipy/numpy/ticket/738>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list