Fix python lints for generate_test_torchscripts.py (#25107)
Summary:
Fix lints, checked with flake8
Pull Request resolved: https://github.com/pytorch/pytorch/pull/25107
Reviewed By: zrphercule
Differential Revision: D16991296
Pulled By: IvanKobzarev
fbshipit-source-id: 5b69d716e3c458dc2cfe5b668a390c7272b1c74f