Fix flake8 warnings/errors in test_jit.py (#16409)
authorJames Reed <jamesreed@fb.com>
Sun, 27 Jan 2019 01:39:34 +0000 (17:39 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sun, 27 Jan 2019 01:42:08 +0000 (17:42 -0800)
commitde6bb3f3e393a1f837b5b99833a5fdb98350dca4
tree4d1d11bcbe59658399a65ed1793dd26d7da42ed3
parentd1ed0176df9172fcef643172b756c8e32c43533e
Fix flake8 warnings/errors in test_jit.py (#16409)

Summary:
These were really annoying to see in the phabricator UI when trying to land PRs that touched test_jit.py, so this fixes them.

One remaining item is the T484 error. Locally, flake8 still chokes on that line even though I put the noqa comment there (and tried varying whitespaces around it etc). Not sure why it still persists...
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16409

Differential Revision: D13832658

Pulled By: jamesr66a

fbshipit-source-id: 46356ba6444ae5ee1a141c28489bdcc7c99e39c0
test/expect/TestScript.test_loop_unroll_unused_counter.expect
test/expect/TestScript.test_loop_unrolling_nested.expect
test/test_jit.py