Skip to content

Update the clear_functools_caches fixture to ensure we don't use stale inferred config values #1824

Description

@nathanjmcdougall

In usethis_config we store an .inferred_backend attribute but this should be reset between tests.

In fact, we store other inferred values potentially.

We should set up the clear_functools_caches fixture to reset the config to its default between tests.

Activity

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

Metadata

Metadata

Labels

testingAdditions or improvements to the test suite

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions