Skip to content

Commit

Permalink
test: configure asyncio_default_fixture_loop_scope
Browse files Browse the repository at this point in the history
Set it to function, the narrowest scope, which the docs say will be the
default in future. This will silence deprecation warnings about this
variable not being set, and may help with the unit test failures on
python 3.9 currently.
  • Loading branch information
james-garner-canonical committed Oct 16, 2024
1 parent 94e6d8e commit a12dc19
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[pytest]
asyncio_default_fixture_loop_scope = function

0 comments on commit a12dc19

Please sign in to comment.