Skip to content

test_fit_oo[ADVI-full] test is broken #3775

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rpgoldman opened this issue Jan 19, 2020 · 1 comment
Closed

test_fit_oo[ADVI-full] test is broken #3775

rpgoldman opened this issue Jan 19, 2020 · 1 comment
Assignees

Comments

@rpgoldman
Copy link
Contributor

rpgoldman commented Jan 19, 2020

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 added a commit to rpgoldman/pymc3 that referenced this issue Jan 20, 2020
Because of a pytest issue these trigger issue pymc-devs#3775.
@rpgoldman
Copy link
Contributor Author

Looks like @ferrine has fixed this. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants