Skip to content

Commit 6d304fc

Browse files
emmanuel-ferdmanxwu-intel
authored andcommitted
Remove duplicate IO Struct test (sgl-project#6180)
Signed-off-by: Emmanuel Ferdman <[email protected]>
1 parent 5516f45 commit 6d304fc

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

test/srt/test_io_struct.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -124,24 +124,6 @@ def test_expanding_parallel_sample_correlation(self):
124124
# Ensure that text items are properly duplicated too
125125
self.assertEqual(req.text, expected_text)
126126

127-
def test_list_of_lists_with_none_values(self):
128-
"""Test handling of list of lists with None values."""
129-
req = copy.deepcopy(self.base_req)
130-
req.image_data = [
131-
[None], # None value
132-
["image.jpg"], # Single image
133-
]
134-
135-
req.normalize_batch_and_arguments()
136-
137-
# Structure should remain the same
138-
self.assertEqual(len(req.image_data), 2)
139-
self.assertEqual(len(req.image_data[0]), 1)
140-
self.assertEqual(len(req.image_data[1]), 1)
141-
142-
# Check modalities
143-
self.assertEqual(req.modalities, [None, "image"])
144-
145127
def test_specific_parallel_n_per_sample(self):
146128
"""Test parallel expansion when different samples have different n values."""
147129
req = copy.deepcopy(self.base_req)

0 commit comments

Comments
 (0)