[BE][Easy][6/19] enforce style for empty lines in import segments in test/ (#129757)

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/129757
Approved by: https://github.com/ezyang
This commit is contained in:
Xuehai Pan
2024-07-16 11:46:39 +08:00
committed by PyTorch MergeBot
parent e51e971a86
commit ba48cf6535
53 changed files with 92 additions and 75 deletions

View File

@ -1,6 +1,5 @@
# Owner(s): ["module: tests"]
import random
import unittest
from functools import partial
from itertools import combinations, permutations, product
@ -8,7 +7,6 @@ from itertools import combinations, permutations, product
import numpy as np
import torch
from torch.testing import make_tensor
from torch.testing._internal.common_device_type import (
dtypes,