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

python,unittest: don't collect abstract classes #12318

Merged
merged 1 commit into from
May 13, 2024

Conversation

bluetech
Copy link
Member

Fix #12275.

@bluetech
Copy link
Member Author

Thanks for the review @RonnyPfannschmidt.

Something seems wrong with the Codecov coverage notes on the PR diff, it seems to consider every new line as uncovered even though it definitely is. I may look into it later.

I've considered backporting this change, but decided against it since it might lead to more regressions that I can't think of. Instead I think we can release 8.3 somewhat soon (I do have some more regressions to look into...).

@bluetech bluetech merged commit d4223b9 into pytest-dev:main May 13, 2024
24 checks passed
@bluetech bluetech deleted the unittest-abc branch May 13, 2024 17:22
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.

v8.2.0 raises Can't instantiate abstract class when a test class implements an abstract class
2 participants