Skip to content

test(pytest): skip instead of xfail where appropriate#1619

Draft
scop wants to merge 1 commit intomainfrom
test/skipif-xfail
Draft

test(pytest): skip instead of xfail where appropriate#1619
scop wants to merge 1 commit intomainfrom
test/skipif-xfail

Conversation

@scop
Copy link
Copy Markdown
Owner

@scop scop commented Apr 19, 2026

Skippingisappropriateforcaseswherethere'snopointinrunningthetestsforsome reasonwecandetect,whereasexpectingfailureismorelikeaTODOthing--knownbug oramissingfeature.

Refhttps://docs.pytest.org/en/stable/how-to/skipping.html

Skippingisappropriateforcaseswherethere'snopointinrunningthetestsforsome
reasonwecandetect,whereasexpectingfailureismorelikeaTODOthing--knownbug
oramissingfeature.

Refhttps://docs.pytest.org/en/stable/how-to/skipping.html
@scop scop marked this pull request as draft April 19, 2026 14:16
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Just commenting on a random file, not related to this one:

WIP/draft for initial comments because this only addresses pytest.mark.xfail/skipif for now, not yet our pytest.mark.complete skipif=/xfail= (there's a lot of that in the tree).

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.

1 participant