Skip to content

[PR #13346/46c94ee8 backport][8.3.x] Add note on using mixin classes for abstract test classes in documentation #13359

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

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Apr 7, 2025

This is a backport of PR #13346 as merged into main (46c94ee).

Description

This PR adds a new recipe to the documentation for handling abstract test classes in pytest. The recipe demonstrates how to use a mixin class to automatically manage the test attribute for subclasses of abstract test classes. This ensures that subclasses are collected by pytest without requiring manual configuration.

Closes #8612

Checklist

  • Allow maintainers to push and squash when merging my commits.
  • Created a new changelog file: 8612.doc.rst.

@nicoddemus nicoddemus enabled auto-merge (squash) April 7, 2025 11:04
@nicoddemus nicoddemus merged commit 26af494 into 8.3.x Apr 7, 2025
29 checks passed
@nicoddemus nicoddemus deleted the patchback/backports/8.3.x/46c94ee82ddbb4a541f5bd4fecd0b4071e1972ae/pr-13346 branch April 7, 2025 11:21
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