Skip to content

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

@nathanjmcdougall

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.

Metadata

Metadata

Labels

testingAdditions or improvements to the test suite

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions