From 260db6ccb445ac026e8e4cb367880d5d75955c71 Mon Sep 17 00:00:00 2001 From: Soumya Snigdha Kundu Date: Thu, 30 Jul 2026 14:19:30 +0100 Subject: [PATCH] tests(inferers): remove dead TEST_CASE_ERROR_10 variable (#44) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit TEST_CASE_ERROR_10 was assigned but never referenced in any parameterized expand list. Confirmed by grepping the module — single hit at its own definition. Signed-off-by: Soumya Snigdha Kundu --- tests/inferers/test_patch_inferer.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tests/inferers/test_patch_inferer.py b/tests/inferers/test_patch_inferer.py index 02c6a378374..44dcbc46570 100644 --- a/tests/inferers/test_patch_inferer.py +++ b/tests/inferers/test_patch_inferer.py @@ -231,17 +231,6 @@ TEST_CASE_ERROR_8 = [torch.zeros(2, 2), dict(splitter=None), ValueError] # invalid inputs: split patches MetaTensor without location metadata TEST_CASE_ERROR_9 = [MetaTensor(torch.zeros(2, 2)), dict(splitter=None), ValueError] -# merged_shape is not provided for the merger -TEST_CASE_ERROR_10 = [ - [ - (TENSOR_4x4[..., :2, :2], (0, 0)), - (TENSOR_4x4[..., :2, 2:], (0, 2)), - (TENSOR_4x4[..., 2:, :2], (2, 0)), - (TENSOR_4x4[..., 2:, 2:], (2, 2)), - ], - dict(splitter=SlidingWindowSplitter(patch_size=(2, 2))), - ValueError, -] class PatchInfererTests(unittest.TestCase):