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

Skip failing tests due to train modules. #27

Merged
merged 2 commits into from
Nov 12, 2024
Merged

Conversation

uazizTT
Copy link
Contributor

@uazizTT uazizTT commented Nov 8, 2024

Additionally skipped torchvision tests.

@uazizTT uazizTT force-pushed the uaziz/skip-model-tests branch from 7e75997 to e2e98f8 Compare November 8, 2024 19:41
@@ -84,6 +84,7 @@ def _load_inputs(self):
["train", "eval"],
)
def test_autoencoder_linear(record_property, mode):
pytest.skip("module has train variant.")
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry, I was unclear, you don't want to skip the whole test, just the train, so:

if mode == "train":
  pytest.skip()

@uazizTT uazizTT force-pushed the uaziz/skip-model-tests branch from adea9ca to 7dbdbb2 Compare November 8, 2024 21:13
@uazizTT uazizTT merged commit 4ef3ceb into main Nov 12, 2024
3 checks passed
@uazizTT uazizTT deleted the uaziz/skip-model-tests branch November 12, 2024 14:47
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