[C++-sig] 'numpy' test broken?

Vladimir Prus ghost at cs.msu.su
Tue Feb 15 13:21:13 CET 2005


Hello,
using fresh CVS state, I get failure of the 'numpy' test. I run:

  bjam -sPYTHON_ROOT=/usr -sPYTHON_VERSION=2.3 numpy

and get error. The interesting part of the test output is:

dlopen("/home/ghost/Work/boost/bin/boost/libs/python/test/numpy_ext.so/gcc/debug/shared-linkable-true/
numpy_ext.so", 2);
testing default extension module
Running __main__.__doc__
........
Trying: exercise_numarray(x, p)
Expecting: nothing
*****************************************************************
Failure in example: exercise_numarray(x, p)
from line #6 of __main__._numarray_tests
Exception raised:
Traceback (most recent call last)
  File "/usr/lib/python2.3/doctest.py", line 442, in _run_examples_inner
    compileflags, 1) in globs
  File "<string>", line 1, in ?
ValueError: type must be either a 1-length string, or a python type object
Trying: check(y.astype());
Expecting: nothing

Any ideas?

- Volodya







More information about the Cplusplus-sig mailing list