Skip to content

Commit ce03892

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ed42829 commit ce03892

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tests/test_some_of.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,10 @@
1515

1616
from parameterized import parameterized
1717

18-
from monai.data import MetaTensor
19-
from monai.transforms import SomeOf, TraceableTransform, Transform
18+
from monai.transforms import SomeOf, Transform
2019
from monai.transforms.compose import Compose, SomeOf
2120
from monai.utils import set_determinism
22-
from monai.utils.enums import TraceKeys
23-
from tests.test_one_of import A, B, C, Inv, NonInv, X, Y
21+
from tests.test_one_of import A, B, C
2422

2523

2624
class A(Transform):
@@ -47,7 +45,7 @@ def __call__(self, x):
4745
TEST_COMPOUND = [
4846
(SomeOf((A(), B(), C()), fixed=True, max_num_transforms=3), 2 * 3 * 5),
4947
(Compose((SomeOf((A(), B(), C()), fixed=True, max_num_transforms=3), D())), 2 * 3 * 5 * 7),
50-
(SomeOf((A(), B(), C(), Compose((D()))), fixed=True, max_num_transforms=4), 2 * 3 * 5 * 7),
48+
(SomeOf((A(), B(), C(), Compose(D())), fixed=True, max_num_transforms=4), 2 * 3 * 5 * 7),
5149
]
5250

5351

0 commit comments

Comments
 (0)