You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like nosetester.docmethod fails when the docstring are explicitly suppressed with the -OO flag.
python -OO -c "import numpy as np"
Traceback (most recent call last):
File "<string>", line 1, in ?
File "/usr/lib64/python2.4/site-packages/numpy/__init__.py", line 125, in ?
import add_newdocs
File "/usr/lib64/python2.4/site-packages/numpy/add_newdocs.py", line 9, in ?
from lib import add_newdoc
File "/usr/lib64/python2.4/site-packages/numpy/lib/__init__.py", line 4, in ?
from type_check import *
File "/usr/lib64/python2.4/site-packages/numpy/lib/type_check.py", line 8, in ?
import numpy.core.numeric as _nx
File "/usr/lib64/python2.4/site-packages/numpy/core/__init__.py", line 34, in ?
from numpy.testing import Tester
File "/usr/lib64/python2.4/site-packages/numpy/testing/__init__.py", line 12, in ?
from utils import *
File "/usr/lib64/python2.4/site-packages/numpy/testing/utils.py", line 9, in ?
from nosetester import import_nose
File "/usr/lib64/python2.4/site-packages/numpy/testing/nosetester.py", line 88, in ?
class NoseTester(object):
File "/usr/lib64/python2.4/site-packages/numpy/testing/nosetester.py", line 292, in NoseTester
_docmethod(_test_argv, '(testtype)')
File "/usr/lib64/python2.4/site-packages/numpy/testing/nosetester.py", line 85, in _docmethod
meth.__doc__ = meth.__doc__ % {'test_header':test_header}
TypeError: unsupported operand type(s) for %: 'NoneType' and 'dict'
Note: I'm just kicking the baby from ticket #1491...
The text was updated successfully, but these errors were encountered:
Original ticket http://projects.scipy.org/numpy/ticket/894 on 2008-08-27 by @pierregm, assigned to unknown.
Looks like
nosetester.docmethod
fails when the docstring are explicitly suppressed with the -OO flag.Note: I'm just kicking the baby from ticket #1491...
The text was updated successfully, but these errors were encountered: