raulcd commented on code in PR #50278:
URL: https://github.com/apache/arrow/pull/50278#discussion_r3491255788


##########
python/pyarrow/tests/test_memory.py:
##########
@@ -38,9 +38,10 @@ def backend_factory(backend_name):
 
 
 def supported_factories():
-    yield pa.default_memory_pool
+    factories = [pa.default_memory_pool]
     for backend_name in pa.supported_memory_backends():
-        yield backend_factory(backend_name)
+        factories.append(backend_factory(backend_name))
+    return factories

Review Comment:
   It seems to be used on two places. I don't have a strong opinion but the 
current usage seems fine to me :)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to