[SciPy-Dev] ERROR: test_rvs (test_distributions.TestRvDiscrete)

Ralf Gommers ralf.gommers at googlemail.com
Sun Feb 13 07:27:13 EST 2011


On Sun, Feb 13, 2011 at 7:18 PM, Nils Wagner
<nwagner at iam.uni-stuttgart.de> wrote:
> Hi,
>
> I am seeing test failures in
>
>>>> scipy.__version__
> '0.10.0.dev7141'
>
> ======================================================================
> ERROR: test_rvs (test_distributions.TestRvDiscrete)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/home/nwagner/local/lib64/python2.6/site-packages/scipy/stats/tests/test_distributions.py",
> line 254, in test_rvs
>     r =
> stats.rv_discrete(name='sample',values=(states,probability))
>   File
> "/home/nwagner/local/lib64/python2.6/site-packages/scipy/stats/distributions.py",
> line 5095, in __init__
>     self._construct_doc()
>   File
> "/home/nwagner/local/lib64/python2.6/site-packages/scipy/stats/distributions.py",
> line 5126, in _construct_doc
>     self.__doc__ = doccer.docformat(self.__doc__,
> tempdict)
>   File
> "/home/nwagner/local/lib64/python2.6/site-packages/scipy/misc/doccer.py",
> line 62, in docformat
>     return docstring % indented
> ValueError: unsupported format character 'p' (0x70) at
> index 3707
>

Fixed this one in r7142.

Ralf



More information about the SciPy-Dev mailing list