Skip to content

Conversation

@yastcher yastcher force-pushed the fix/14011-10819-correct-class-fixtures branch 3 times, most recently from 6c5967f to 9772d0c Compare December 28, 2025 17:21
@psf-chronographer psf-chronographer bot added the bot:chronographer:provided (automation) changelog entry is part of PR label Dec 28, 2025
@yastcher yastcher force-pushed the fix/14011-10819-correct-class-fixtures branch from 9772d0c to acd357c Compare December 29, 2025 18:41
@yastcher yastcher force-pushed the fix/14011-10819-correct-class-fixtures branch from acd357c to ff1759c Compare January 12, 2026 02:25
pass

@pytest.fixture(scope="class")
def fix(self) -> typing.Generator[None]:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reminds me that we need to ensure that class scope fixtures do not actually ever get a instance - class scope is above instances and should get a class

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:chronographer:provided (automation) changelog entry is part of PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inherit fixture from baseclass with class scope fails Fixture with scope=class and autouse=True is not executed from mother's test class

2 participants