From a823c6e8347e2f8d5f6729c0efb64b6e3f3dad3e Mon Sep 17 00:00:00 2001 From: Emmanuel Ferdman Date: Sun, 11 May 2025 07:57:26 +0300 Subject: [PATCH] Remove duplicate IO Struct test (#6180) Signed-off-by: Emmanuel Ferdman --- test/srt/test_io_struct.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/test/srt/test_io_struct.py b/test/srt/test_io_struct.py index 452b3e3a4..1be077366 100644 --- a/test/srt/test_io_struct.py +++ b/test/srt/test_io_struct.py @@ -124,24 +124,6 @@ class TestGenerateReqInputNormalization(CustomTestCase): # Ensure that text items are properly duplicated too self.assertEqual(req.text, expected_text) - def test_list_of_lists_with_none_values(self): - """Test handling of list of lists with None values.""" - req = copy.deepcopy(self.base_req) - req.image_data = [ - [None], # None value - ["image.jpg"], # Single image - ] - - req.normalize_batch_and_arguments() - - # Structure should remain the same - self.assertEqual(len(req.image_data), 2) - self.assertEqual(len(req.image_data[0]), 1) - self.assertEqual(len(req.image_data[1]), 1) - - # Check modalities - self.assertEqual(req.modalities, [None, "image"]) - def test_specific_parallel_n_per_sample(self): """Test parallel expansion when different samples have different n values.""" req = copy.deepcopy(self.base_req)