Skip to content

test: Adapt unmarked async tests in strict mode for pytest 8.4.0#1141

Merged
seifertm merged 1 commit into
pytest-dev:mainfrom
ziyao233:test/pytest-8.4.0-unmarked-async
Jun 20, 2025
Merged

test: Adapt unmarked async tests in strict mode for pytest 8.4.0#1141
seifertm merged 1 commit into
pytest-dev:mainfrom
ziyao233:test/pytest-8.4.0-unmarked-async

Conversation

@ziyao233

Copy link
Copy Markdown
Contributor

Async tests fail instead of skipping and warning with Pytest 8.4.0 if no suitable async plugin is installed[1]. Adjust expectation of these tests to pass the testsuite with Pytest 8.4.0.

Link: https://docs.pytest.org/en/stable/changelog.html#pytest-8-4-0-2025-06-02 # [1]

Async tests fail instead of skipping and warning with Pytest 8.4.0 if
no suitable async plugin is installed[1]. Adjust expectation of these
tests to pass the testsuite with Pytest 8.4.0.

Link: https://docs.pytest.org/en/stable/changelog.html#pytest-8-4-0-2025-06-02 # [1]
Signed-off-by: Yao Zi <ziyao@disroot.org>
@ziyao233

Copy link
Copy Markdown
Contributor Author

This should fix test failures in #1135 as well and allow us to bump pytest to 8.4.0.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.93%. Comparing base (5cedab6) to head (596e5a8).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1141   +/-   ##
=======================================
  Coverage   89.93%   89.93%           
=======================================
  Files           2        2           
  Lines         447      447           
  Branches       53       53           
=======================================
  Hits          402      402           
  Misses         30       30           
  Partials       15       15           

☔ 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.

@seifertm

Copy link
Copy Markdown
Contributor

That makes sense. Thanks for the contribution!

@seifertm seifertm added this pull request to the merge queue Jun 20, 2025
Merged via the queue into pytest-dev:main with commit 8c6612f Jun 20, 2025
18 of 19 checks passed
@seifertm seifertm added this to the v1.1 milestone Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants