Skip to content

modernize#79

Draft
Finkregh wants to merge 10 commits into
pytest-dev:mainfrom
Finkregh:modern-python
Draft

modernize#79
Finkregh wants to merge 10 commits into
pytest-dev:mainfrom
Finkregh:modern-python

Conversation

@Finkregh
Copy link
Copy Markdown

No description provided.

* src/pytest_tcpclient/plugin.py:
  - Update async fixtures with explicit loop_scope="function" and scope="function"
  - Add CancelledError handling in evaluate_expectations() and execute_server_actions()
  - Implement timeout-based cleanup in stop() method to prevent hanging
  - Add proper task cancellation for infinite background loops

* tests/pytest_tcpclient/test_plugin.py:
  - Update test_connection_reset_error expectation to match improved error detection
@Finkregh Finkregh force-pushed the modern-python branch 5 times, most recently from bf3df0a to 62219de Compare November 21, 2025 12:41
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.

2 participants