Skip to content

Commit

Permalink
Add config to silence asyncio-related warnings during tests
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfioravanti committed Aug 28, 2024
1 parent c7a4616 commit 99c1fb3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# NOTE: Although the asyncio module is not used directly in this plugin, it
# seems that some other dependencies do use it. So, this config is added to
# silence the deprecation warnings regarding
# `asyncio_default_fixture_loop_scope`
[pytest]
asyncio_default_fixture_loop_scope = function

0 comments on commit 99c1fb3

Please sign in to comment.