[New-bugs-announce] [issue4545] doctest seems to always fail on numpy.array2string

ekorn report at bugs.python.org
Fri Dec 5 12:45:55 CET 2008


New submission from ekorn <jonovik at gmail.com>:

I don't understand this doctest error, resulting from
python test_doctest.py

Failed example:
    numpy.array2string(numpy.arange(2))
Expected:
    [0 1]
Got:
    '[0 1]'

The specified output was copied-and-pasted directly from running the 
example. Whitespace seems identical and #doctest: +NORMALIZE_WHITESPACE 
does not help.

----------
components: Tests
files: test_doctest.py
messages: 77006
nosy: ekorn
severity: normal
status: open
title: doctest seems to always fail on numpy.array2string
type: behavior
versions: Python 2.5
Added file: http://bugs.python.org/file12237/test_doctest.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4545>
_______________________________________


More information about the New-bugs-announce mailing list