Skip to content

Commit 1ce9cdb

Browse files
committed
set default pytest asyncio scope to function
1 parent 9982256 commit 1ce9cdb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ cli.console_scripts =
7777
addopts = --verbose
7878
asyncio_mode = auto
7979
timeout = 10
80+
asyncio_default_fixture_loop_scope = function
8081

8182
; TODO: Remove ignoring ResourceWarning after finding out why connection is not always closed after each test (rare event)
8283
filterwarnings =

0 commit comments

Comments
 (0)