Skip to content

Commit 0dd3637

Browse files
committed
set asyncio_default_fixture_loop_scope config
avoid deprecation warning
1 parent b6cf49a commit 0dd3637

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ testpaths =
1010
tests
1111
# automatically run coroutine tests with asyncio
1212
asyncio_mode = auto
13+
asyncio_default_fixture_loop_scope = function

0 commit comments

Comments
 (0)