Skip to content

Conversation

@mollyxu
Copy link
Contributor

@mollyxu mollyxu commented Dec 17, 2025

Remove remaining skipped tests from collection in internal environment

Prevent internal CI failures from skipped tests by excluding skipped tests from collection in internal environment.

TorchCodec tests were flaky / broken internal because:

  • Tests were using runtime pytest.skip() calls, so they were collected but then skipped during execution

Follow up to #1068

Changes Made

1. Replaced all instances of pytest.skip() with @pytest.mark.skipif()

2. Updated conftest.py to document our test collection logic

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Dec 17, 2025
@meta-codesync
Copy link

meta-codesync bot commented Dec 19, 2025

@mollyxu has imported this pull request. If you are a Meta employee, you can view this in D89555188.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant