Skip to content

BUG: Flaky test test_truncation_specialized_op #6384

Closed
@michaelosthege

Description

@michaelosthege

Describe the issue:

It failed in #6304 and on main: https://github.com/pymc-devs/pymc/actions/runs/3665014447/jobs/6195812078

Reproduceable code example:

pytest -v pymc/tests/distributions/test_truncated.py::test_truncation_specialized_op

Error message:

FAILED pymc/tests/distributions/test_truncated.py::test_truncation_specialized_op[observed] - assert False
 +  where False = isinstance(<pytensor.tensor.elemwise.Elemwise object at 0x7fdf5924e1a0>, TruncatedNormalRV)
 +    where <pytensor.tensor.elemwise.Elemwise object at 0x7fdf5924e1a0> = Elemwise{identity}(AdvancedIncSubtensor{inplace=False,  set_instead_of_inc=True}.0).op
 +      where Elemwise{identity}(AdvancedIncSubtensor{inplace=False,  set_instead_of_inc=True}.0) = xt.owne

PyMC version information:

main

Context for the issue:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions