[Numpy-discussion] TypeError: 'bool' object is not callable

Michael Droettboom mdroe@stsci....
Wed Oct 14 11:59:28 CDT 2009


That's my bad.  I will commit a fix to SVN shortly.

Mike

Nils Wagner wrote:
>   >>> numpy.__version__
> '1.4.0.dev7528'
>
> ======================================================================
> ERROR: test_from_unicode (test_defchararray.TestBasic)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>    File 
> "/home/nwagner/local/lib64/python2.6/site-packages/numpy/core/tests/test_defchararray.py", 
> line 68, in test_from_unicode
>      A = np.char.array(u'\u03a3')
>    File 
> "/home/nwagner/local/lib64/python2.6/site-packages/numpy/core/defchararray.py", 
> line 2453, in array
>      obj = unicode(obj)
> TypeError: 'bool' object is not callable
>
> ----------------------------------------------------------------------
> Ran 2277 tests in 18.933s
>
> FAILED (KNOWNFAIL=1, errors=1)
> <nose.result.TextTestResult run=2277 errors=1 failures=0>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA



More information about the NumPy-Discussion mailing list