lilixiang commented on a change in pull request #10893:
URL: https://github.com/apache/arrow/pull/10893#discussion_r684601302
##########
File path: python/pyarrow/tests/test_flight.py
##########
@@ -1545,6 +1578,48 @@ def test_roundtrip_errors():
with pytest.raises(flight.FlightInternalError, match=".*foo.*"):
list(client.list_flights())
+ with pytest.raises(flight.FlightInternalError, match=".*foo.*"):
Review comment:
change it with a dict, and it can precisely control of exception
occurres, but i don't know if not call write_table before close will cause
other exception, so I test it with same code
--
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]