[SciPy-dev] scikits.umfpack

Nils Wagner nwagner at iam.uni-stuttgart.de
Tue Aug 5 12:48:01 EDT 2008


On Tue, 05 Aug 2008 18:33:10 +0200
  Robert Cimrman <cimrman3 at ntc.zcu.cz> wrote:
> Nils Wagner wrote:
>> Hi Robert C.,
>> 
>> I saw that you have edited __init__.py today.
>>   
>>>>> from scikits import umfpack
>>>>> umfpack.test()
>> Running unit tests for scikits.umfpack
>> NumPy version 1.2.0.dev5611
>> NumPy is installed in 
>> /usr/lib/python2.4/site-packages/numpy
>> Python version 2.4 (#1, Oct 13 2006, 17:13:31) [GCC 
>>3.3.5 
>> 20050117 (prerelease) (SUSE Linux)]
>> nose version 0.10.3
>> E
>> ======================================================================
>> ERROR: Failure: ImportError (No module named testing)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>    File 
>> "/usr/lib/python2.4/site-packages/nose-0.10.3-py2.4.egg/nose/loader.py", 
>> line 363, in loadTestsFromName
>>      module = self.importer.importFromPath(
>>    File 
>> "/usr/lib/python2.4/site-packages/nose-0.10.3-py2.4.egg/nose/importer.py", 
>> line 39, in importFromPath
>>      return self.importFromDir(dir_path, fqname)
>>    File 
>> "/usr/lib/python2.4/site-packages/nose-0.10.3-py2.4.egg/nose/importer.py", 
>> line 84, in importFromDir
>>      mod = load_module(part_fqname, fh, filename, desc)
>>    File 
>> "/usr/lib/python2.4/site-packages/scikits/umfpack/tests/test_umfpack.py", 
>> line 13, in ?
>>      from scipy.testing import *
>> ImportError: No module named testing
>> 
>> ----------------------------------------------------------------------
>> Ran 1 test in 0.088s
>> 
>> FAILED (errors=1)
>> <nose.result.TextTestResult run=1 errors=1 failures=0>
>> 
>> Nils
> 
> Hi Nils,
> 
> I have to do it so that it works with the latest SVN 
>version 
> (0.7.0.dev4600), but may have done something wrong. The 
>prior version is 
> ok for you?
> 
> r.

Robert,

The problem is that IIRC scipy.testing is not longer used.
Please correct me if I am missing something.
  
In [1]: import scipy

In [2]: scipy.te
scipy.tensordot  scipy.test

In [2]: scipy.te
scipy.tensordot  scipy.test

In [2]: import numpy

In [3]: numpy.t
numpy.take         numpy.tensordot    numpy.tile 
        numpy.trapz        numpy.trim_zeros 
  numpy.typeDict     numpy.typename
numpy.tan          numpy.test         numpy.trace 
       numpy.tri          numpy.triu         numpy.typeNA
numpy.tanh         numpy.testing      numpy.transpose 
   numpy.tril         numpy.true_divide  numpy.typecodes

  
Nils



More information about the SciPy-Dev mailing list