pitrou commented on code in PR #40176:
URL: https://github.com/apache/arrow/pull/40176#discussion_r1497557280


##########
python/pyarrow/tests/test_io.py:
##########
@@ -1137,7 +1142,14 @@ def test_memory_zero_length(tmpdir):
 
 
 def test_memory_map_large_seeks():
-    check_large_seeks(pa.memory_map)
+    if sys.maxsize >= 2**32:
+        expected_error = None

Review Comment:
   OTOH, I want to test that it's specifically `file_factory(filename)` that 
raises, so I think I'll keep the code as is.



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