Skip to content

chore: consolidate the loopback fixtures and adopt them in test_asyncio - #1871

Merged
bdraco merged 2 commits into
masterfrom
dry_up_tests_2
Aug 29, 2026
Merged

bdraco merged 2 commits into
masterfrom
dry_up_tests_2

Conversation

@bdraco

@bdraco bdraco commented Aug 29, 2026

Copy link
Copy Markdown
Member

Summary

Second cleanup pass, unrelated to #1835. #1870 accidentally added a zc fixture alongside the pre existing zc_loopback; this consolidates to one implementation under the short names zc and aiozc and renames the call sites. Twelve async tests in test_asyncio adopt the aiozc fixture and drop their construct and close boilerplate; the tests whose explicit async_close is part of the behavior under test keep it, including the blockbuster xfail group, which silently masks name errors and needed originals restored during the conversion.

Test plan

  • full suite passes, lint clean

@github-actions

Copy link
Copy Markdown

Thanks for contributing! A quick note: this project is in the process of moving from LGPL-2.1 to Apache 2.0, see #1835.

By continuing with this pull request you are okay with your contribution, and your previous contributions to this repository, being offered under Apache 2.0.

If that does not work for you, no hard feelings; reply with the exact phrase I do not agree to the Apache 2.0 license or simply close this pull request, and nothing of yours will be included in the change.

@codspeed

codspeed Bot commented Aug 29, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 24 untouched benchmarks


Comparing dry_up_tests_2 (aa45d7d) with master (e6e0a60)

Open in CodSpeed

@codecov

codecov Bot commented Aug 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.87%. Comparing base (e6e0a60) to head (aa45d7d).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1871   +/-   ##
=======================================
  Coverage   99.87%   99.87%           
=======================================
  Files          33       33           
  Lines        3882     3882           
  Branches      567      567           
=======================================
  Hits         3877     3877           
  Misses          3        3           
  Partials        2        2           

☔ View full report in Codecov by Harness.
📢 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.

@bdraco
bdraco marked this pull request as ready for review August 29, 2026 22:14
@bdraco
bdraco merged commit 90f9226 into master Aug 29, 2026
35 checks passed
@bdraco
bdraco deleted the dry_up_tests_2 branch August 29, 2026 22:14
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.

1 participant