Skip to content

Conversation

@bobyangyf
Copy link
Contributor

Summary:
These functions are sample AppDef generators used for tests, not tests itself.
Following python convension, these shouldn't be named test_ which is reserved for actual tests.

Frameworks often assume that top level test_ functions are actual unit tests, leading to failures like https://github.com/pytorch/torchx/actions/runs/13956345042/job/39068272186

Differential Revision: D71526823

Summary:
These functions are sample AppDef generators used for tests, not tests itself.
Following python convension, these shouldn't be named `test_` which is reserved for actual tests.

Frameworks often assume that top level `test_` functions are actual unit tests, leading to failures like https://github.com/pytorch/torchx/actions/runs/13956345042/job/39068272186

Differential Revision: D71526823
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 20, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D71526823

@facebook-github-bot facebook-github-bot merged commit 24550f4 into meta-pytorch:main Mar 23, 2025
17 of 20 checks passed
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 Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants