pytest-console-scripts icon indicating copy to clipboard operation
pytest-console-scripts copied to clipboard

using script_runner in a "module" scoped fixture

Open thekswenson opened this issue 1 month ago • 13 comments

Is there a fundamental reason why the script_runner fixture is function scoped? The desire for a module scoped script_runner is self evident, so I'm guessing this may have something to do with the architecture of pytest.

thekswenson avatar Nov 12 '25 14:11 thekswenson