Skip to content

Remove usage of scipy.stats.binom_test #7201

@NicolasHug

Description

@NicolasHug

It's deprecated. Not super urgent at we only rely on it in the tests.

  /work/test/test_transforms.py:1437: DeprecationWarning: 'binom_test' is deprecated in favour of 'binomtest' from version 1.7.0 and will be removed in Scipy 1.12.0.

(Also noticed this warning)

  /work/ci_env/lib/python3.8/site-packages/scipy/stats/_discrete_distns.py:77: RuntimeWarning: divide by zero encountered in _binom_pdf

cc @pmeier

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions