Skip to content

Conversation

bluetech
Copy link
Member

There is handling for scope="class" without a class, but not for scope="package" without a package. It would fail the assert.

@bluetech
Copy link
Member Author

I noticed this while reviewing @sadra-barikbin's changes in #11220 (unfortunately it will create a minor conflict).

Previously this code was not covered, which I noticed in the coverage report of #11138.

…ut a Package

There as handling for `scope="class"` without a class, but not for
`scope="package"` without a package. It would fail the assert.
@bluetech bluetech merged commit c754da1 into pytest-dev:main Jul 28, 2023
@bluetech bluetech deleted the scope-pkg-crash branch July 28, 2023 19:48
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