qzyu999 commented on code in PR #3723:
URL: https://github.com/apache/iceberg-python/pull/3723#discussion_r3700216676
##########
tests/io/test_pyarrow.py:
##########
@@ -170,6 +171,7 @@ def test_pyarrow_input_file() -> None:
with pytest.raises(OSError) as exc_info:
r.seek(0, 0)
assert "only valid on seekable files" in str(exc_info.value)
+ r.close()
Review Comment:
Done, switched to `with` blocks.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]