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

Mark test as xfail for timeout (only) #181

Open
yarikoptic opened this issue Sep 27, 2024 · 0 comments
Open

Mark test as xfail for timeout (only) #181

yarikoptic opened this issue Sep 27, 2024 · 0 comments

Comments

@yarikoptic
Copy link

It might be just a matter of documentation but I failed to find: how to mark test for xfail only if it times out (but still fail otherwise) and ideally only for some other condition (e.g. if on_nfs bool var set).

Thank you in advance!

yarikoptic added a commit to dandi/dandi-cli that referenced this issue Sep 27, 2024
This is a bit too wildcard, ideally we should only xfail on timeout.
Asking at pytest-dev/pytest-timeout#181
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

No branches or pull requests

1 participant