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: D35011832
Pulled By: NicolasHug
fbshipit-source-id: f76f92cf92b236ac8a2e2947001d219d0a7d5f14
(cherry picked from commit 3e142f8da9479eab356b3f38ace321cc9fde9bfc)