built-in fixtures and multiple scopes #6888
Labels
topic: fixtures
anything involving fixtures directly or indirectly
type: enhancement
new feature or API change, should be merged into features branch
Currently if I need to create a fixture which has scope other than
function
, I have to re-implement every built-in fixture locally. If pytest does not support calling fixtures with multiple scopes, it should at least provide built-in fixtures with multiple scope. For example:Same goes for tmpdir, tmp_path, etc.
The text was updated successfully, but these errors were encountered: