pitrou commented on a change in pull request #11420:
URL: https://github.com/apache/arrow/pull/11420#discussion_r728968575



##########
File path: python/pyarrow/tests/test_io.py
##########
@@ -1286,6 +1286,29 @@ def test_compressed_input_bz2(tmpdir):
         pytest.skip(str(e))
 
 
+def test_compressed_input_openfile(tmpdir):
+    data = b"some test data\n" * 10 + b"eof\n"
+    fn = str(tmpdir / "compressed_input_test.gz")
+    with gzip.open(fn, "wb") as f:

Review comment:
       Can you skip if the codec is not available, as in 
https://github.com/apache/arrow/pull/11420/files#diff-3341221e6c47865ab746c63ec3a5c13c5c12133287b5c00e865660604fd86f5cR1381?




-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to