pymc-devs / pymc

Bayesian Modeling and Probabilistic Programming in Python
https://docs.pymc.io/
Other
8.72k stars 2.02k forks source link

test_fit_oo[ADVI-full] test is broken #3775

Closed rpgoldman closed 4 years ago

rpgoldman commented 4 years ago

This may be just a breakage in pytest. The error is in fixture initialization:

fixturedef = <FixtureDef argname='simple_model' scope='module' baseid='pymc3/tests/test_variational_inference.py'>
request = <SubRequest 'simple_model' for <Function test_fit_oo[ADVI-full]>>
    def pytest_fixture_setup(fixturedef, request):
        """ Execution of fixture setup. """
        kwargs = {}
        for argname in fixturedef.argnames:
            fixdef = request._get_active_fixturedef(argname)
>           result, arg_cache_key, exc = fixdef.cached_result
E           AttributeError: 'FixtureDef' object has no attribute 'cached_result'

I don't know if this is related to #3395 or #2943 (but I think not the latter, which seems to be a different issue).

rpgoldman commented 4 years ago

Looks like @ferrine has fixed this. Closing.