MCPcopy Create free account
hub / github.com/apache/arrow / test_memory_map_large_seeks

Function test_memory_map_large_seeks

python/pyarrow/tests/test_io.py:1230–1238  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1228
1229
1230def test_memory_map_large_seeks():
1231 if sys.maxsize >= 2**32:
1232 expected_error = None
1233 else:
1234 expected_error = pytest.raises(
1235 pa.ArrowCapacityError,
1236 match="Requested memory map length 4294967306 "
1237 "does not fit in a C size_t")
1238 check_large_seeks(pa.memory_map, expected_error=expected_error)
1239
1240
1241def test_memory_map_close_remove(tmpdir):

Callers

nothing calls this directly

Calls 1

check_large_seeksFunction · 0.85

Tested by

no test coverage detected