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

[torchlib] pytest-subtest does not (seem to) support subtest filtering #797

Open
BowenBao opened this issue Jun 19, 2023 · 2 comments
Open
Labels
module: torchlib Related to the torch/aten function lib in development

Comments

@BowenBao
Copy link
Contributor

Not sure how to selectively run a single subtest. It would be very helpful in cases like debugging a test failure that contains like 20+ subtest failures. Since otherwise the logs are cluttered.

Maybe it's me not knowing the proper command... Related issue at pytest-dev/pytest-subtests#100

@BowenBao BowenBao added the module: torchlib Related to the torch/aten function lib in development label Jun 19, 2023
@justinchuby
Copy link
Collaborator

I am not aware of this either

@BowenBao
Copy link
Contributor Author

Probably nothing like -k that we can use, the subtests are not structurally named. Perhaps we can achieve something similar with fixtures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: torchlib Related to the torch/aten function lib in development
Projects
None yet
Development

No branches or pull requests

2 participants