Skip to content

Commit

Permalink
Add asyncio_default_fixture_loop_scope variable to pytest.ini to avoi…
Browse files Browse the repository at this point in the history
…d deprecation warning (#584)
  • Loading branch information
jwlodek committed Sep 19, 2024
1 parent de084df commit 0b6ab21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ markers = [
"adsim: require the ADsim IOC to be running",
]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"

[tool.coverage.run]
data_file = "/tmp/ophyd_async.coverage"
Expand Down

0 comments on commit 0b6ab21

Please sign in to comment.