jorisvandenbossche commented on code in PR #42086:
URL: https://github.com/apache/arrow/pull/42086#discussion_r1634415483


##########
python/pyarrow/tests/test_flight.py:
##########
@@ -180,20 +180,16 @@ def do_get(self, context, ticket):
     def do_put(self, context, descriptor, reader, writer):
         counter = 0
         expected_data = [-10, -5, 0, 5, 10]
-        while True:
-            try:
-                batch, buf = reader.read_chunk()

Review Comment:
   Do we want to test both patterns (iterator vs calling read and catching 
StopIteration)?



-- 
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