[Scipy-tickets] [SciPy] #1724: Scipy test hangs

SciPy Trac scipy-tickets@scipy....
Sun Aug 26 03:32:50 CDT 2012


#1724: Scipy test hangs
------------------------+---------------------------------------------------
 Reporter:  adammiller  |       Owner:  somebody   
     Type:  defect      |      Status:  new        
 Priority:  normal      |   Milestone:  Unscheduled
Component:  Other       |     Version:  0.10.0     
 Keywords:              |  
------------------------+---------------------------------------------------

Comment(by rgommers):

 Tests run in the same order for me, I paste here the output of
 waeve.test() with one line which shows the hanging test:
 {{{
 Python version 2.7.3 (v2.7.3:70274d53c1dd, Apr  9 2012, 20:52:43) [GCC
 4.2.1 (Apple Inc. build 5666) (dot 3)]
 nose version 1.1.2
 convert simple expr to blitz ... ok
 convert fdtd equation to blitz. ... ok
 convert simple expr to blitz ... ok
 bad path should return same as default (and warn) ... ok
 make sure it handles relative values. ... ok
 default behavior is to return current directory ... ok
 make sure it handles relative values ... ok
 test_simple (test_build_tools.TestConfigureSysArgv) ... ok
 bad path should return same as default (and warn) ... ok
 make sure it handles relative values. ... ok
 default behavior returns tempdir ... ok
 make sure it handles relative values ... ok
 There should always be a writable file -- even if it is in temp ... ok
 }}}

 The last line comes from TestCatalog.test_access_writable_file() in
 weave/tests/test_catalog.py.
 I don't really see anything obvious in catalog.py that would hang. Does
 this hang as well:
 {{{
 import os
 from scipy.weave import catalog

 q = catalog.catalog()
 file = q.get_writable_file()
 try:
     f = open(file,'w')
     f.write('bob')
 finally:
     f.close()
     os.remove(file)
 }}}

 Since I can't reproduce this, it's difficult to debug. Do you know how to
 debug this?

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1724#comment:3>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list