Skip to content

Deprecate event_loop_policy fixture#1421

Draft
tjkuson wants to merge 2 commits intopytest-dev:mainfrom
tjkuson:deprecate-hook
Draft

Deprecate event_loop_policy fixture#1421
tjkuson wants to merge 2 commits intopytest-dev:mainfrom
tjkuson:deprecate-hook

Conversation

@tjkuson
Copy link
Copy Markdown
Contributor

@tjkuson tjkuson commented Apr 19, 2026

Emit a deprecation warning when a user uses the event_loop_policy fixture. Add deprecation notice to documentation.

One documentation code snippet tests was failing due to the change. As I was about to update it, I noticed that the snippet wasn't actually used anywhere, so I deleted it.

Closes #1419

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.56%. Comparing base (4919983) to head (651f65c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1421      +/-   ##
==========================================
+ Coverage   94.53%   94.56%   +0.03%     
==========================================
  Files           2        2              
  Lines         512      515       +3     
  Branches       61       62       +1     
==========================================
+ Hits          484      487       +3     
  Misses         22       22              
  Partials        6        6              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecate event_loop_policy fixture

2 participants