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

Couple of typing fixes #263

Merged
merged 2 commits into from
Apr 4, 2024
Merged

Couple of typing fixes #263

merged 2 commits into from
Apr 4, 2024

Conversation

bluetech
Copy link
Member

@bluetech bluetech commented Apr 4, 2024

A couple of changes from using execnet's typing in pytest-xdist.

While `object` is type-safe, it is somewhat hostile to users (forces
isinstance checks), so the common practice is to return `Any` in these
cases.
These are custom exception that are raised by the public `dumps`/`loads`
methods. They are used by pytest-xdist which currently imports them from
`execnet.gateway_base`.
@bluetech bluetech merged commit 42aeb82 into pytest-dev:master Apr 4, 2024
13 checks passed
@bluetech bluetech deleted the typing-fixes branch April 4, 2024 18: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.

2 participants