Skip to content

Commit dbb856a

Browse files
committed
reformatting Signed-off-by: FinnBehrendt <[email protected]>
1 parent 52b01a0 commit dbb856a

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

tests/inferers/test_patch_inferer.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,6 @@ def test_patch_inferer_errors(self, inputs, arguments, expected_error):
305305
inferer(inputs=inputs, network=lambda x: x)
306306

307307

308-
309308
# ----------------------------------------------------------------------------
310309
# Error test cases with conditionign
311310
# ----------------------------------------------------------------------------
@@ -479,7 +478,6 @@ def test_patch_inferer_errors(self, inputs, arguments, expected_error):
479478
]
480479

481480

482-
483481
class PatchInfererTests_cond(unittest.TestCase):
484482
@parameterized.expand(
485483
[

tests/inferers/test_slice_inferer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,5 +86,6 @@ def test_shape(self, spatial_dim):
8686
# test that the inferer can be run multiple times
8787
result = inferer(input_volume, model, condition=condition_volume)
8888

89+
8990
if __name__ == "__main__":
9091
unittest.main()

tests/inferers/test_sliding_window_inference.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,6 @@ def compute_dict(data):
373373
np.testing.assert_allclose(result_dict[rr].cpu().numpy(), expected_dict[rr], rtol=1e-4)
374374

375375

376-
377376
class TestSlidingWindowInference_cond(unittest.TestCase):
378377
@parameterized.expand(TEST_CASES)
379378
def test_sliding_window_default(self, image_shape, roi_shape, sw_batch_size, overlap, mode, device):
@@ -686,6 +685,5 @@ def compute_dict(data, condition):
686685
np.testing.assert_allclose(result_dict[rr].cpu().numpy(), expected_dict[rr], rtol=1e-4)
687686

688687

689-
690688
if __name__ == "__main__":
691689
unittest.main()

0 commit comments

Comments
 (0)