Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: set pytest asyncio_default_fixture_loop_scope #3935

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

superlopuh
Copy link
Member

Removes the following error:

PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

Removes the following error:

> PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"
@superlopuh superlopuh added the CI Continuous Integration label Feb 18, 2025
@superlopuh superlopuh self-assigned this Feb 18, 2025
Copy link

codecov bot commented Feb 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.30%. Comparing base (0dd5626) to head (58e3ff7).
Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3935   +/-   ##
=======================================
  Coverage   91.30%   91.30%           
=======================================
  Files         467      467           
  Lines       58068    58068           
  Branches     5581     5581           
=======================================
+ Hits        53018    53021    +3     
+ Misses       3618     3616    -2     
+ Partials     1432     1431    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@superlopuh superlopuh merged commit 4c8803d into main Feb 18, 2025
16 checks passed
@superlopuh superlopuh deleted the sasha/ci/pytest-asyncio branch February 18, 2025 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants