Skip to content

Commit 31df4dc

Browse files
fix(ci): use auto mode for pytest-asyncio (backport #3959) (#3964)
* fix(ci): use auto mode for pytest-asyncio (#3959) pytest-asyncio changed the default mode to strict in 0.19 which breaks most of our asyncio related integrations. https://github.com/pytest-dev/pytest-asyncio/blame/v0.19.0/CHANGELOG.rst#L7 We have to explicitly set this mode to `auto` to keep the same functionality we had prior to the 0.19 release. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit da89b44) Co-authored-by: Kyle Verhoog <[email protected]>
1 parent 455a00b commit 31df4dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,3 +275,4 @@ python_files = test*\.py
275275
filterwarnings =
276276
# Show any DeprecationWarnings once
277277
once::DeprecationWarning
278+
asyncio_mode = auto

0 commit comments

Comments
 (0)