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:1231–1239  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

check_large_seeksFunction · 0.85

Tested by

no test coverage detected