diff --git a/python/ray/serve/utils.py b/python/ray/serve/utils.py
index <HASH>..<HASH> 100644
--- a/python/ray/serve/utils.py
+++ b/python/ray/serve/utils.py
@@ -399,7 +399,10 @@ class MockImportedBackend:
         } for _ in range(len(batch))]
 
     async def other_method(self, batch):
-        return [await request.body() for request in batch]
+        responses = []
+        for request in batch:
+            responses.append(await request.body())
+        return responses
 
 
 def compute_iterable_delta(old: Iterable,
[Hotfix] Lint (#<I>)