[SciPy-user] scipy.test() hang up

Nils Wagner nwagner at mecha.uni-stuttgart.de
Fri Apr 23 03:19:32 CDT 2004


Pearu Peterson schrieb:
> 
> On Fri, 23 Apr 2004, Nils Wagner wrote:
> 
> > Pearu Peterson schrieb:
> > >
> > > On Fri, 23 Apr 2004, Nils Wagner wrote:
> > >
> > > > Traceback (most recent call last):
> > > ..
> > > >     self.stream.writeln("ok")
> > > > AttributeError: _dummy_stream instance has no attribute 'writeln'
> > >
> > > This is now fixed in CVS.
> > >
> > But scipy.test(verbosity=2) hang up again.
> >
> > check_shape (scipy.common.test_common.test_randn) ... ok
> > check_std (scipy.common.test_common.test_randn) ... ok
> > check_basic (scipy.common.test_common.test_factorial) ... ok
> > check_exact (scipy.common.test_common.test_factorial) ... ok
> > check_basic (scipy.common.test_common.test_comb) ... ok
> > check_exact (scipy.common.test_common.test_comb) ... ok
> 
> Try:
> 
> >>> scipy.optimize.test(verbosity=2)
> 
> If it hangs then do in scipy CVS tree
> 
>   cd Lib/optimize
>   python setup_optimize.py build
>   python tests/test_cobyla.py
> 
> If that also hangs then do
> 
>   cd Lib/optimize
>   rm -rf build
>   python setup_optimize.py config_fc --noopt build
>   python tests/test_cobyla.py
> 
> Tell me what happened.
> 
Your last test works fine 

python tests/test_cobyla.py
  Found 1 tests for __main__
Result: [ 4.95535778  0.6666553 ] (exact result = 4.955356249106168,
0.666666666666666)
.
----------------------------------------------------------------------
Ran 1 test in 0.015s

OK

Nils

> Pearu
> 
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user



More information about the SciPy-user mailing list