[BE][Easy][12/19] enforce style for empty lines in import segments in test/i*/ (#129763)

See https://github.com/pytorch/pytorch/pull/129751#issue-2380881501. Most changes are auto-generated by linter.

You can review these PRs via:

```bash
git diff --ignore-all-space --ignore-blank-lines HEAD~1
```

Pull Request resolved: https://github.com/pytorch/pytorch/pull/129763
Approved by: https://github.com/jansel
This commit is contained in:
Xuehai Pan
2024-07-17 15:47:46 +08:00
committed by PyTorch MergeBot
parent 740fb22966
commit aecc746fcc
73 changed files with 70 additions and 88 deletions

View File

@ -13,9 +13,9 @@ from torch.testing._internal.common_utils import (
slowTest,
TEST_WITH_ASAN,
)
from torch.testing._internal.inductor_utils import HAS_CPU, HAS_CUDA
# Make the helper files in test/ importable
pytorch_test_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
sys.path.append(pytorch_test_dir)