Skip to content

Introducing an autouse fixture to (re)set config options for all tests. #6498

Closed as not planned
@hendrikmakait

Description

@hendrikmakait

In #6075, we deactivated profiling for a number of tests using the _reconfigure() context manager. In the same function, we also set other config options. I think that we would benefit from having a means of (re)setting config options globally.

For this purpose, I propose an autouse fixture that (re)sets config options for all tests, which could be _reconfigure().

I am open to alternative ways of setting config options for all tests.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions