was anyio_backend fixture intentionally changed to module-scoped? docs still say function-scoped. #1156
Unanswered
EmmanuelNiyonshuti
asked this question in
Q&A
Replies: 1 comment
|
Ah, it was updated to module scoped during #435 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
docs still says anyio_backend fixture is function scoped , when it actually is module scoped!
https://anyio.readthedocs.io/en/stable/testing.html#:~:text=anyio_backend%20fixture%20because%20the%20default%20anyio_backend%20fixture%20is%20function%20scoped%3A
anyio/src/anyio/pytest_plugin.py
Lines 204 to 206 in 64b753b
fixture was last touched in #1021 that PR doesn't seem related to this change though. was this intentional? docs need updating if so, otherwise, its worth reverting?
All reactions