Revert "[EZ] move test decorator up in the class def (#100719)"
This reverts commit daf5100656c65cb6f1777f7e4173fd494624b565.
Reverted https://github.com/pytorch/pytorch/pull/100719 on behalf of https://github.com/huydhn due to Sorry for reverting your PR, but it breaks lint in trunk ([comment](https://github.com/pytorch/pytorch/pull/100719#issuecomment-1536514589))