Cosmetic changes to torchhub tests (#74431)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/74431
Test Plan: Imported from OSS
Reviewed By: anjali411
Differential Revision: D35011898
Pulled By: NicolasHug
fbshipit-source-id: 37a42f843b0a3c781fa59254552a9b3af8678176
(cherry picked from commit aa4f83e126cb72cd846266af7ea77c70e2a9dc81)